OPI API

OPI API endpoints are available to use with an API Key or from allow-listed domains.

Mainnet: https://api.ordinalsbot.com/opi

Testnet: https://testnet-api.ordinalsbot.com/opi

You can refer to official OPI documentation for all available endpoints.

Get BRC20 Ticker Info

GET https://api.ordinalsbot.com/opi/v1/brc20/ticker_info

Query Parameters

Name
Type
Description

ticker*

String

Ticker to get information for

Headers

Name
Type
Description

x-api-key*

String

API Key

Get BRC20 Wallet Balance

GET https://api.ordinalsbot.com/opi/v1/brc20/get_current_balance_of_wallet

Query Parameters

Name
Type
Description

address*

String

Bitcoin address to check balance

ticker

String

Ticker to get balance

Headers

Name
Type
Description

x-api-key*

String

API Key

Get BRC20 Index Block Height

GET https://api.ordinalsbot.com/opi/v1/brc20/block_height

Headers

Name
Type
Description

x-api-key*

String

API Key

Last updated