{"uid":"cap_azdMM5yAJx3ztQIrcN_BB","slug":"fastx402-json-query-jmespath-18e40b63","name":"FastX402 JSON Query (JMESPath)","description":"200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.","url":"https://fastx402.tools/json-query?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["json","expression"],"properties":{"json":{"type":"string","description":"JSON document"},"expression":{"type":"string","description":"JMESPath expression, e.g. tools[?price < `0.002`].name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"array","items":{"type":"string"}},"expression":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"result":["dns","qr-code"],"expression":"tools[?price < `0.005`].name"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bixHThDQ6y_R8WSKWSFUC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Query and reshape a JSON document using a JMESPath expression to extract fields, filter arrays, or project lists.","exampleAgentPrompt":"Take this JSON API response and run the JMESPath expression `tools[?price < \\`0.002\\`].name` on it to get back just the names of the cheap tools.","exampleUseCases":[{"title":"Filter API results by price threshold","prompt":"I have this big JSON list of tools with prices and names — run the JMESPath expression `tools[?price < \\`0.005\\`].name` on it and give me back only the names of the affordable ones."},{"title":"Extract nested field from API payload","prompt":"Here's a JSON response from a weather API — use JMESPath expression `current.temperature` to pull out just the temperature value for me."},{"title":"Project subset of fields from array","prompt":"I've got a JSON array of user objects with lots of fields — apply the JMESPath expression `users[*].{id: id, email: email}` to keep only the id and email for each user."}],"resultDescription":"Returns a JSON object containing the evaluated `result` (which may be an array, object, string, number, or null depending on the JMESPath expression) and the `expression` that was applied.","failureModes":["Invalid JMESPath expression causes a parse or evaluation error","Malformed JSON input causes a parse failure","Expression matches nothing, returning null or empty array","Very large JSON documents may hit size limits or time out","Missing required `json` or `expression` query parameters returns a 400-style error"],"whenToPreferThis":"Use this endpoint when you need to slice, filter, or reshape a JSON document using JMESPath syntax — especially after receiving a large API response and wanting to extract only the relevant fields without writing custom parsing code. It is ideal for agents already familiar with AWS CLI-style queries or when the target data structure is nested and complex.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T19:23:36.824Z","isFirstParty":false,"canonicalSlug":"fastx402-json-query-jmespath-18e40b63"}