{"slug":"saylorinnovations-com-api-json-query-63c8c8","title":"Run a JSONPath query on a JSON document","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/json/query","category":"other","description":"Run a JSONPath query on a JSON document - keys, indexes, slices, wildcards, recursive descent and filters - returning values and their paths","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":534,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"json":"{\"store\":{\"book\":[{\"t\":\"A\",\"price\":8},{\"t\":\"B\",\"price\":22}]}}","path":"$.store.book[?(@.price < 10)].t"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"json":{"description":"JSON document, up to 8000 characters","type":"string"},"path":{"description":"JSONPath expression such as $.items[*].name or $..price or $.a[?(@.n > 1)]","type":"string"}},"required":["json","path"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"first":{"description":"First matching value, or null","type":"string"},"match_count":{"description":"Number of match","type":"number"},"path":{"description":"JSONPath expression that was evaluated","type":"string"},"paths":{"description":"Normalised path of each match, aligned with results","type":"array"},"results":{"description":"List of matching results","type":"array"},"source":{"description":"Data source the values come from","type":"string"},"supported_syntax":{"description":"Supported syntax","type":"string"},"truncated":{"description":"True when the list was cut at the limit","type":"boolean"}},"required":["path","match_count","results"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":534,"error":null}],"description_full":"Run a JSONPath query on a JSON document - keys, indexes, slices, wildcards, recursive descent and filters - returning values and their paths","last_updated":"2026-10-20T14:48:05.521Z","schemes":["exact"]}