{"uid":"cap_gaMxiBUVFSxiLLapDJDwz","slug":"centralcity-ai-json-path-extractor-9832bbe6","name":"centralcity.ai JSON Path Extractor","description":"Picks values out of a JSON document by a path such as items[*].price or a.b[0].c, at most 1000 matches.","url":"https://centralcity.ai/api/public/x402/off_yxbehemhki5y45yu?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"json":{"type":"string","description":"The JSON document, at most 64 KiB."},"path":{"type":"string","description":"The path: names joined by dots, [n] for an array index, [*] or .* for every item, [\"name\"] for any key; an optional leading $."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p-RyjDfNjmkYITpeD-z-4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts values from a JSON document using a dot/bracket path expression (e.g. items[*].price or a.b[0].c), returning up to 1000 matches.","exampleAgentPrompt":"Can you pull out all the price values from this JSON — use the path items[*].price: {\"items\":[{\"name\":\"apple\",\"price\":1.2},{\"name\":\"banana\",\"price\":0.5}]}","exampleUseCases":[{"title":"Extracting prices from e-commerce API response","prompt":"I got this big JSON back from the product API — can you extract all the prices using the path products[*].variants[*].price? Here's the JSON: {\"products\":[{\"name\":\"Shirt\",\"variants\":[{\"size\":\"M\",\"price\":29.99},{\"size\":\"L\",\"price\":31.99}]}]}"},{"title":"Pulling nested config value from deployment manifest","prompt":"Here's my deployment config JSON — I need to get the value at spec.template.spec.containers[0].image to see which Docker image is being used."},{"title":"Collecting all user emails from API payload","prompt":"I have a JSON response from the users endpoint and I need to grab every email address — use the path data[*].contact.email on this JSON: {\"data\":[{\"id\":1,\"contact\":{\"email\":\"alice@example.com\"}},{\"id\":2,\"contact\":{\"email\":\"bob@example.com\"}}]}"}],"resultDescription":"An array of up to 1000 values matched by the given path expression within the JSON document. Each matched value is returned in order of traversal. If the path matches no nodes, an empty array is returned.","failureModes":["Invalid or malformed JSON input returns an error indicating the JSON is not parseable","Path expression that is syntactically invalid returns an error","JSON document exceeds 64 KiB size limit results in rejection","No matches for the given path returns an empty result set","More than 1000 matches are found — only first 1000 are returned"],"whenToPreferThis":"Use this endpoint when you have a JSON document and need to extract specific nested values using a path expression, especially when dealing with arrays using wildcards like [*] or .* . Prefer it over manual parsing when the JSON structure is complex or deeply nested, or when you need all matching values from an array in a single call. It is particularly useful for processing API responses, configuration files, or data payloads where only a subset of fields is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:36:55.920Z","isFirstParty":false,"canonicalSlug":"centralcity-ai-json-path-extractor-7c6d3ae7"}