> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onefirewall.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OneFirewall Coins

## TL;DR

OFA Coins are the credit system for API access within the OneFirewall Alliance. Members need a sufficient Coin balance to make requests against OneFirewall's APIs.

## Overview

<AccordionGroup>
  <Accordion title="Coin Acquisition">
    Coins are acquired by purchasing them from OneFirewall or by earning them through participation in the OneFirewall Alliance community.
  </Accordion>

  <Accordion title="Coin Balance">
    Each user has a Coin balance tied to their member account.
  </Accordion>

  <Accordion title="Request Cost">
    Each API service has a fixed Coin cost. The system checks the user's Coin balance before processing a request.
  </Accordion>

  <Accordion title="Coin Deduction">
    If the balance covers the request cost, the system deducts the corresponding amount of Coins.
  </Accordion>

  <Accordion title="Insufficient Coins">
    If a user attempts to make a request but does not have enough Coins to cover the cost, the request is denied until they acquire more Coins.
  </Accordion>

  <Accordion title="Coin Management">
    Members can monitor their Coin balance and transaction history in the web console, under the user profile page.
  </Accordion>
</AccordionGroup>

<Tip>
  Coin acquisition, pricing, and management details may change based on OneFirewall Alliance policy updates.
</Tip>

## OFA Coins Acquisition

Coin allocation is determined by the license tier acquired by the user. Coins are provided upon acquiring a license and can be used to access the API Services.

For Coin allocation details by license tier, contact the OneFirewall support team at [support@onefirewall.com](mailto:support@onefirewall.com).

## API Services and Costs

Coin cost per API service varies based on data complexity and processing requirements.

| API Service | OFA Coins Required |
| - | - |
| IPv4 Feeds (FLAT) | 200 |
| IPv4 Feeds (FLAT REAL TIME) | 45 |
| IPv4 Feeds (REST) - single IP | 1 |
| IPv4 Feeds (REST) - single IP by search | 2 |
| IPv4 Feeds (REST) - Multiple IP | 12 |
| STIX2 | 20 |
| Malicious Files | 8 |
| Malicious Files (Deep Scan) | 120 |
| Domains | 32 |
| Domains (Deep Scan) | 120 |

## Check the cost of each API call

Each API response includes a header, `X-OFA-COST`, containing the number of Coins debited for that request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.