{"uid":"cap_kuw7bGt0Pcst-lYxyWXPq","slug":"swift-bot-labs-toolbox-json-query-de53710f","name":"Swift Bot Labs Toolbox – JSON Query","description":"62 small, deterministic utility APIs (DNS and e-mail checks, web extraction, EVM decoding, x402 checks, IP math, JSON/CSV, hashing, conversions). No account or API key: pay per call in USDC with x402.","url":"https://x402-toolbox.swiftbotlab.workers.dev/v1/json/query?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"description":"Document (a JSON value, or a string containing JSON)"},"path":{"type":"string","maxLength":1000},"paths":{"type":"array","items":{"type":"string","maxLength":1000},"maxItems":20}}},"responseSchema":{"type":"json","example":{"ok":true,"tool":"json-query","result":{"results":[{"path":"items[*].id","found":true,"value":[1,2],"multiple":true},{"path":"/meta/next","found":true,"value":null}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fg_SqbuHkzj1ZZC_6KsOE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Queries one or more JSONPath expressions against a JSON document and returns the matched values","exampleAgentPrompt":"Take this JSON blob and pull out the values at 'items[*].id' and '/meta/next' for me — I need both fields extracted in one shot.","exampleUseCases":[{"title":"Extract IDs from API response","prompt":"Here's the JSON response from a product catalog API — can you pull out all the product IDs from 'products[*].id' and the pagination cursor at 'meta.nextCursor'?"},{"title":"Check if nested config key exists","prompt":"I have this JSON config file — can you check if the path 'server.tls.certPath' exists and grab its value if it does?"},{"title":"Batch field extraction from JSON payload","prompt":"From this raw JSON payload, extract the values at 'order.total', 'order.currency', and 'order.items[*].sku' all at once so I can process them downstream."}],"resultDescription":"Returns a JSON object with ok=true, tool='json-query', and a result containing an array of path results — each result includes the queried path string, a 'found' boolean, the matched value (or null if not found), and a 'multiple' flag indicating whether the path matched more than one value.","failureModes":["Invalid JSONPath syntax returns an error result with found=false for that path","Malformed JSON input (not parseable) causes the whole request to fail","Path not found in document returns found=false with a null value","Exceeding 20 paths in the paths array is rejected by schema validation","Payment not attached or insufficient USDC triggers an x402 payment-required response"],"whenToPreferThis":"Use this endpoint when you need to extract one or more specific fields from a JSON document using JSONPath expressions without setting up an account or API key — ideal for agent pipelines that process API responses, config files, or arbitrary JSON payloads on a pay-per-call basis with USDC via x402. Prefer it over writing inline JSON parsing logic when you need a deterministic, hosted extraction step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:10.408Z","isFirstParty":false,"canonicalSlug":"swift-bot-labs-toolbox-json-query-de53710f"}