Skip to Content
Indexify
Market Data

Bulk stack price stats

POST
/api/bulk_stack_stats.php

Returns current prices and percentage change stats for up to 1000 stacks. No authentication required.

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.

Request Body

application/json
  1. body
stack_ids*array<integer>

Array of stack IDs (max 1000).

Itemsitems <= 1000

Response Body

Array of stack stats in the same order as the input.

application/json
  1. response
[index: integer]?
Example Request
curl -X POST 'https://api.indexify.finance/api/bulk_stack_stats.php' \  -H 'Content-Type: application/json' \  -d '{  "stack_ids": [    0  ]}'
Example Response
[  {    "stack_id": 0,    "found": true,    "price": 0,    "stats": {      "change4H": 0,      "change1D": 0,      "change1W": 0,      "change1M": 0,      "changeAll": 0    }  }]