{"uid":"cap_nJ27ZYhubf7rHIXX6jyRo","slug":"24k-labs-jsonpath-extractor-08bfc149","name":"24K Labs JSONPath Extractor","description":"Extract one or many values from a JSON blob by dot/bracket path (e.g. items[2].name, meta.total). Pull just the fields you need instead of shipping the whole object.","url":"https://api.24klabs.ai/api/v1/jsonpath-extract","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"object"},"paths":{"type":"array"}}},"responseSchema":{"type":"json","example":{"results":[{"path":"items[1].name","found":true,"value":"b"}]}},"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_fbgCFP4LrGjbMvaTGGBCF","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":"Extracts one or more values from a JSON blob using dot/bracket path notation (e.g. items[2].name, meta.total)","exampleAgentPrompt":"From this JSON blob, extract the values at the paths 'meta.total' and 'items[0].name' for me: {\"meta\":{\"total\":42},\"items\":[{\"name\":\"Widget A\"},{\"name\":\"Widget B\"}]}","exampleUseCases":[{"title":"Pull price from API response","prompt":"I got this big JSON back from a product API and just need the value at 'pricing.discounted_price' — can you extract that field without me having to parse the whole thing?"},{"title":"Grab nested array element","prompt":"From this JSON object, pull out the third item's title using the path 'results[2].title': {\"results\":[{\"title\":\"Alpha\"},{\"title\":\"Beta\"},{\"title\":\"Gamma\"}]}"},{"title":"Extract multiple fields at once","prompt":"I have a JSON API response and I need to grab both 'user.email' and 'user.account.plan' — can you extract both of those paths from the blob?"}],"resultDescription":"Returns the extracted value(s) corresponding to the provided dot/bracket path expressions from the input JSON blob — either a single value or a set of matched values, scoped to exactly the fields requested.","failureModes":["Invalid JSONPath expression returns an error or empty result","Malformed JSON input causes a parsing error","Path not found in JSON returns null or an explicit not-found response","Deeply nested or very large JSON blobs may hit size limits","Type mismatch when accessing array index on a non-array node"],"whenToPreferThis":"Use this endpoint when you need to surgically extract one or more specific fields from a JSON object without transmitting or processing the full payload. Ideal for pipelines that receive large API responses and need only a subset of fields, or when building lightweight data transformations that require path-based field selection. Prefer this over full JSON parsing libraries when operating in an agentic context where you want a simple, stateless micro-service call for field extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:58.350Z","isFirstParty":false}