Resolve an order asset ID from asset (symbol, spot pair, @index, or numeric mark
Resolve an order asset ID from asset (symbol, spot pair, @index, or numeric market index) and sourceDex ("" for default perps, "spot" for spot). Spot IDs are 10000 + spot market index; already formatted IDs are preserved. Token indexes are not market indexes. Unknown or ambiguous assets return 400; provider failures return 502. Use assetId as orders[].a or modify order.a before signing. Treat spot and perp as one balance only when the account abstraction mode is "unifiedAccount".
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://chainhilt.ai/api/v1/perp/hyperliquid/asset-id
| Category | Market data |
|---|---|
| Provider host | chainhilt.ai |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 57 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 960 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 869 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 27 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 32 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 36 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 86 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 35 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 39 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 36 ms |
| 2026-11-17 | valid payment request | 402 | $0.001 | 27 ms |
| 2026-11-16 | valid payment request | 402 | $0.001 | 38 ms |
| 2026-11-15 | valid payment request | 402 | $0.001 | 930 ms |
| 2026-11-14 | valid payment request | 402 | $0.001 | 720 ms |
| 2026-11-13 | valid payment request | 402 | $0.001 | 824 ms |
| 2026-11-12 | valid payment request | 402 | $0.001 | 734 ms |
| 2026-11-11 | valid payment request | 402 | $0.001 | 776 ms |
| 2026-11-10 | valid payment request | 402 | $0.001 | 745 ms |
| 2026-11-09 | valid payment request | 402 | $0.001 | 37 ms |
| 2026-11-08 | valid payment request | 402 | $0.001 | 930 ms |
| 2026-11-07 | valid payment request | 402 | $0.001 | 682 ms |
| 2026-11-06 | valid payment request | 402 | $0.001 | 37 ms |
| 2026-11-05 | valid payment request | 402 | $0.001 | 634 ms |
| 2026-11-04 | valid payment request | 402 | $0.001 | 1049 ms |
| 2026-11-03 | valid payment request | 402 | $0.001 | 69 ms |
| 2026-11-02 | valid payment request | 402 | $0.001 | 27 ms |
Example input (from the provider)
{
"body": {
"asset": "PURR/USDC",
"sourceDex": "spot"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"asset": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "string"
}
],
"description": "Market symbol (\"ETH\"), spot pair (\"PURR/USDC\"), \"@index\", or numeric market index."
},
"sourceDex": {
"default": "",
"description": "\"\" for default perps (the default) or \"spot\" for spot markets.",
"enum": [
"",
"spot"
],
"type": "string"
}
},
"required": [
"asset"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}