Intents Explorer API
What is Intents Explorer API?
The Intents Explorer API provides programmatic access to historical 1Click Swap transactions and their statuses, mirroring the data available on the NEAR Intents Explorer. This API is read-only and features a single HTTP GET endpoint designed specifically for distribution channels and analytical services to fetch and filter 1Click Swap history.
Key Features
The API is tailored exclusively for 1Click Swap transactions and is not intended for general NEAR Intents activity.
Retrieve and filter swaps by token symbols, transaction hashes, timestamps, and status, enabling precise integration with your analytics or dashboarding tools.
Mirrors the same real-time and historical swap data shown in the NEAR Intents Explorer interface.
Documentation & Access
Swagger UI: https://explorer.near-intents.org/api/docs
OpenAPI Spec (YAML): https://explorer.near-intents.org/api/v0/openapi.yaml
API Specification (v0)
Auto-generate clients using our OpenAPI spec.
API Endpoints
JWT token for API authentication.
The number of transactions to return. Default: 50. Max: 1000. Min: 1.
Last known depositAddressAndMemo value for pagination. Use the depositAddressAndMemo from the last transaction of the previous page.
DEPRECATED: Use lastDepositAddressAndMemo instead. Last known deposit address for pagination.
Direction of pagination. next - get older transactions, prev - get newer transactions. Default: next.
Search by deposit address, recipient, sender, or tx hash.
Filter by origin chain ID.
Filter by origin token ID. Overrides fromChainId.
Filter by destination chain ID.
Filter by destination token ID. Overrides toChainId. Overrides fromTokenId.
Filter by referral.
Filter by an affiliate stored in the fees.
Filter by comma-separated statuses. Allowed values: FAILED, INCOMPLETE_DEPOSIT, PENDING_DEPOSIT, PROCESSING, REFUNDED, SUCCESS. Default: FAILED, PROCESSING, REFUNDED, SUCCESS.
Show transactions from test accounts and with test-related referrals.
Filter by minimum USD price for both input and output amounts.
Filter by maximum USD price for both input and output amounts.
Filter by end timestamp (non-inclusive). Use ISO 8601 format.
Filter by end timestamp (non-inclusive). Use Unix timestamp.
Filter by start timestamp (non-inclusive). Use ISO 8601 format.
Filter by start timestamp (non-inclusive). Use Unix timestamp.
Transactions
Bad Request
Unauthorized
Too Many Requests - Rate limit exceeded. Maximum 1 request per 5 seconds per partner.
JWT token for API authentication.
Page number. Default: 1. Min: 1.
Number of transactions per page. Default: 50. Max: 1000. Min: 1.
Search by deposit address, recipient, sender, or tx hash.
Filter by origin chain ID.
Filter by origin token ID. Overrides fromChainId.
Filter by destination chain ID.
Filter by destination token ID. Overrides toChainId. Overrides fromTokenId.
Filter by referral.
Filter by an affiliate stored in the fees.
Filter by comma-separated statuses. Allowed values: FAILED, INCOMPLETE_DEPOSIT, PENDING_DEPOSIT, PROCESSING, REFUNDED, SUCCESS. Default: FAILED, PROCESSING, REFUNDED, SUCCESS.
Show transactions from test accounts and with test-related referrals.
Filter by minimum USD price for both input and output amounts.
Filter by maximum USD price for both input and output amounts.
Filter by end timestamp (non-inclusive). Use ISO 8601 format.
Filter by end timestamp (non-inclusive). Use Unix timestamp.
Filter by start timestamp (non-inclusive). Use ISO 8601 format.
Filter by start timestamp (non-inclusive). Use Unix timestamp.
Transactions
Bad Request
Unauthorized
Too Many Requests - Rate limit exceeded. Maximum 1 request per 5 seconds per partner.
Last updated