Skip to Content
Indexify
Market Data

Get chart markers for a stack

GET
/api/charts.php?action=chart-markers

Returns buy/sell/inception/closed/allocation_change markers for overlay on stack price charts. Requires authentication for buy/sell markers. Allocation change markers are included at each version transition point.

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

slug?string

Stack slug (either slug or stack_id required).

stack_id?integer

Stack ID (either slug or stack_id required).

start?integer

Start of time range (unix timestamp). Defaults to 30 days ago.

end?integer

End of time range (unix timestamp). Defaults to now.

Response Body

Chart markers within the requested time range.

application/json
  1. response
stack_id?integer
start?integer
end?integer
markers?array<>
Example Request
curl -X GET 'https://api.indexify.finance/api/charts.php?action=chart-markers'
Example Response
{  "stack_id": 0,  "start": 0,  "end": 0,  "markers": [    {      "type": "inception",      "time": 0,      "time_iso": "string",      "order_id": 0,      "amount_usdc": 0,      "status": "string",      "version": 0,      "creator_note": "string"    }  ]}