Skip to Content
Indexify
Tokens

Token trading info and company stack statistics

POST
/api/token_trading.php

Provides trading readiness information for tokens (ensuring a company stack exists) and aggregate company stack statistics.

Authorization

ApiKeyAuth
headerX-API-KEY<token>

API key with the ix_ prefix. You can generate an API Key by navigating to Settings -> API Key in the web app. Pass it in the X-API-KEY header on every request.

Query Parameters

action*string
Value in"get_trading_info""get_company_stats"

Request Body

application/json
  1. body

At least one of token_address or token_id is required.

token_address?string

Solana token mint address.

token_id?integer

Internal token ID.

Response Body

Successful response. Shape varies by action.

application/json
  1. response
company_stack_id?integer

ID of the company stack for this token.

token?
trading_enabled?boolean
display_name?string
stack_name?string
slug?string|null
message?string
Example Request
curl -X POST 'https://api.indexify.finance/api/token_trading.php?action=get_trading_info' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "company_stack_id": 0,  "token": {    "id": 0,    "chain": "string",    "symbol": "string",    "name": "string",    "address": "string",    "notes": "string",    "image_url": "string",    "pool_address": "string",    "decimals": 0,    "cg_id": "string",    "archived": true,    "last_updated": "string"  },  "trading_enabled": true,  "display_name": "string",  "stack_name": "string",  "slug": "string",  "message": "Token ready for trading"}