GET /indexed-route-map

Returns a hash map, input mint as key and an array of valid output mint as values, token mints are indexed to reduce the file size

get/indexed-route-map

Query parameters

onlyDirectRoutesboolean

Default is false. Direct Routes limits Jupiter routing to single hop routes only.

Response

Default response

mintKeysstring[] required

All the mints that are indexed to match in indexedRouteMap

indexedRouteMapobject required

All the possible route and their corresponding output mints

Example response

{
  "indexedRouteMap": {
    "1": [
      2,
      3,
      4
    ],
    "2": [
      1,
      3,
      4
    ]
  }
}

Changes