JSON query: JSONPath (RFC 9535) or JSON Pointer
$0.0021 USD per call Pay per call via x402, no signup
This call selects values from a JSON document with a JSONPath query (RFC 9535: names, indexes, slices, wildcards, descendant steps, filters with comparisons, &&, ||, !, and length, count, and value) or a JSON Pointer (RFC 6901), and it returns every match with its normalized path and pointer. Input is json and query (POST for large documents), with optional max_results; limits are 1 MB of JSON and a 1,000-character query; match() and search() are not offered; the query runs offline; GET and POST endpoints are listed.
x402: GET https://shop.lordevo.com/api/quick/json-query?json=%7B%22store%22:%7B%22book%22:%5B%7B%22title%22:%22A%22,%22price%22:8.95%7D,%7B%22title%22:%22B%22,%22price%22:12.99%7D%5D%7D%7D&query=$.store.book%5B?@.price%20%3C%2010%5D.title or POST the same fields as JSON to https://shop.lordevo.com/api/quick/json-query · MCP tool json_query at https://shop.lordevo.com/mcp
The first call answers HTTP 402 with the price ($0.0021 USD per call, USDC on Base); any x402 client pays and retries. Instant tools that fail or are refused are not charged. Discovery is free: /catalog.json, /openapi.json, /llms.txt.
Example
The catalog's own example for this tool (illustrative sample values, not a live result).
Input
{
"json": "{\"store\":{\"book\":[{\"title\":\"A\",\"price\":8.95},{\"title\":\"B\",\"price\":12.99}]}}",
"query": "$.store.book[?@.price < 10].title"
}Output
{
"tool": "json-query",
"language": "jsonpath",
"query": "$.store.book[?@.price < 10].title",
"match_count": 1,
"results_returned": 1,
"truncated": false,
"results": [
{
"path": "$['store']['book'][0]['title']",
"pointer": "/store/book/0/title",
"value": "A"
}
],
"notes": []
}