Index Querying
Get data from the AR.IO Gateway index using GQL
Query indexed data using GraphQL
GraphQL endpoint for querying indexed transaction and block data. Supports:
- Transaction queries by ID, owner, recipient, tags, and bundle
- Block queries by ID and height
- Pagination and sorting
- Rich metadata including sizes, content types, and signatures
See the GraphQL Playground at /graphql
for full schema documentation and interactive querying.
querystring
GraphQL query string
variables?object
Query variables
Empty Object
Response Body
curl -X POST "https://ardrive.net/graphql" \ -H "Content-Type: application/json" \ -d '{ "query": "query {\n transaction(\n id: \"D6I-Ke9oLg7sU_PS4oADQmnyFRa1jj2Zs1DP9BltrFs\"\n ) {\n signature\n owner {\n address\n }\n bundledIn {\n id\n }\n block {\n height\n }\n }\n}\n" }'
{
"data": "{\n \"transaction\": {\n \"signature\": \"4wh6PDJH6eyCKAWZoW26T0qt5NNjnVgyPjLs5HDR7fYgOyzEZF8FyIJiz01IRVvmXC9WZKvy2uLGiIdW4GtUNhs\",\n \"owner\": {\n \"address\": \"WbE3R_GcAalEP-VonRpL2P5TG30PJRA1-Tj20E_xIK0\"\n },\n \"bundledIn\": {\n \"id\": \"yU5ilscWlDecDhUmNcd24zqe9HmNZ31h31BxC_VcXIM\"\n },\n \"block\": null\n }\n}\n",
"errors": [
{
"message": "string",
"locations": [
{
"line": 0,
"column": 0
}
],
"path": [
"string"
]
}
]
}
Empty
Empty
How is this guide?