Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/bitnob:bitnob-exchange-rates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Bitnob API requests Exchange rates API
version: 1.0.0
description: 'What you send to the Bitnob API: path and query parameters, request bodies and auth headers. Responses are left out; see the full Bitnob API spec for those.'
servers:
- description: Production
url: https://api.bitnob.com
security:
- ClientId: []
Timestamp: []
Nonce: []
Signature: []
- ClientId: []
Secret: []
tags:
- description: Rates and conversions.
name: Exchange Rates
paths:
/api/exchange-rates:
get:
tags:
- Exchange Rates
summary: Get exchange rates
description: Pass from and to for one pair, or neither for every rate from base (USD by default). Rates include your organization's spread.
operationId: exchangeRatesGetRate
parameters:
- description: Currency to convert from.
in: query
name: from
required: false
schema:
example: USD
type: string
- description: Currency to convert to.
in: query
name: to
required: false
schema:
example: NGN
type: string
- description: Base currency for all-rates mode; ignored when from and to are given
example: USD
in: query
name: base
required: false
schema:
default: USD
type: string
/api/exchange-rates/conversions:
get:
tags:
- Exchange Rates
summary: List conversions
description: Lists your conversions, newest first, including NGN orders placed through POST /api/trading/orders.
operationId: exchangeRatesListConversions
parameters:
- description: Values below 1, or not a number, use 1
example: 1
in: query
name: page
required: false
schema:
default: 1
minimum: 1
type: integer
- description: Values below 1 use the default; values above 100 are capped at 100
example: 20
in: query
name: page_size
required: false
schema:
default: 20
maximum: 100
minimum: 1
type: integer
post:
tags:
- Exchange Rates
summary: Execute a conversion
description: To convert to or from NGN, use POST /api/trading/quotes and POST /api/trading/orders.
operationId: exchangeRatesExecuteConversion
requestBody:
content:
application/json:
examples:
btc_to_ngn:
summary: BTC to naira
value:
from_amount: '0.0025'
from_currency: BTC
idempotency_key: conv_sbx_20261030_0002
to_currency: NGN
ngn_to_usdt:
summary: Naira to USDT
value:
from_amount: '150000'
from_currency: NGN
idempotency_key: conv_sbx_20261030_0001
to_currency: USDT
schema:
$ref: '#/components/schemas/ExchangeRatesExecuteConversionRequest'
required: true
/api/exchange-rates/conversions/{id}:
get:
tags:
- Exchange Rates
summary: Get a conversion
description: Returns one conversion. An NGN trade order's id is its conversion id.
operationId: exchangeRatesGetConversion
parameters:
- description: Conversion id
example: 019a3b5c-8e21-7c44-a1b2-c3d4e5f60718
in: path
name: id
required: true
schema:
format: uuid
type: string
/api/exchange-rates/convert:
get:
tags:
- Exchange Rates
summary: Convert an amount
description: Calculates an amount in another currency at the current rate, including your spread. Nothing is locked and no money moves.
operationId: exchangeRatesConvert
parameters:
- description: Currency to convert from.
in: query
name: from
required: true
schema:
example: USD
type: string
- description: Currency to convert to.
in: query
name: to
required: true
schema:
example: NGN
type: string
- description: Positive decimal amount in major units of from
in: query
name: amount
required: true
schema:
example: '100'
type: string
components:
schemas:
ExchangeRatesExecuteConversionRequest:
properties:
from_amount:
description: Decimal amount in major units of from_currency; greater than 0 and at most 1000000000
maxLength: 30
type: string
from_currency:
description: NGN, BTC, USDT or USDC, case-insensitive (trimmed and upper-cased). One of from_currency and to_currency must be NGN and they must differ.
maxLength: 10
pattern: ^\s*[A-Za-z]+\s*$
type: string
idempotency_key:
description: Your unique key for this conversion, so a retry is safe.
maxLength: 100
pattern: ^[^<>]*$
type: string
to_currency:
description: NGN, BTC, USDT or USDC, case-insensitive (trimmed and upper-cased).
maxLength: 10
pattern: ^\s*[A-Za-z]+\s*$
type: string
required:
- from_currency
- to_currency
- from_amount
- idempotency_key
type: object
securitySchemes:
ClientId:
type: apiKey
in: header
name: X-Auth-Client
description: Your client id. Required in both auth modes.
Nonce:
type: apiKey
in: header
name: X-Auth-Nonce
description: A unique random string for this request.
Secret:
type: apiKey
in: header
name: X-Auth-Secret
description: 'Secret mode only: your client secret, sent instead of the timestamp, nonce and signature.'
Signature:
type: apiKey
in: header
name: X-Auth-Signature
description: Hex HMAC-SHA256 of `{client_id}:{timestamp}:{nonce}:{body}` using your secret. The body is empty for GET.
Timestamp:
type: apiKey
in: header
name: X-Auth-Timestamp
description: The current Unix time in seconds. Requests more than 5 minutes off are refused.