{"openapi":"3.1.0","info":{"title":"JSONPath API","version":"1.0.0","description":"Query and extract from JSON with JSONPath, server-side. Run any JSONPath expression — wildcards, recursive descent, array slices and filter expressions like [?(@.price>10)] — against a JSON document and get back the matched values, the normalized paths and JSON Pointers of every match, or just the first match. Filter expressions are evaluated in a safe sandbox with no access to globals, and inputs can be sent as a JSON POST body or a query parameter. Pure local compute with no third-party upstream, so responses are instant and the service is always available. Ideal for no-code and automation platforms, ETL and data pipelines, API integrations, testing and config extraction.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/jsonpath-api","description":"oanor gateway"}],"tags":[{"name":"JSONPath"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/first":{"get":{"operationId":"get_v1_first","tags":["JSONPath"],"summary":"First matching value","description":"","parameters":[{"name":"json","in":"query","required":true,"description":"JSON document (object or JSON string)","schema":{"type":"string"},"example":"{\"store\":{\"book\":[{\"title\":\"A\",\"price\":8},{\"title\":\"B\",\"price\":13}]}}"},{"name":"path","in":"query","required":true,"description":"JSONPath expression","schema":{"type":"string"},"example":"$..price"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"path":"$..price","found":true,"value":8},"meta":{"timestamp":"2026-05-30T18:16:51.883Z","request_id":"53d0977a-6ca2-4840-a6ac-a772a3df5723"},"status":"ok","message":"OK","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/paths":{"get":{"operationId":"get_v1_paths","tags":["JSONPath"],"summary":"Paths & pointers of matches","description":"","parameters":[{"name":"json","in":"query","required":true,"description":"JSON document (object or JSON string)","schema":{"type":"string"},"example":"{\"store\":{\"book\":[{\"title\":\"A\",\"price\":8},{\"title\":\"B\",\"price\":13}]}}"},{"name":"path","in":"query","required":true,"description":"JSONPath expression","schema":{"type":"string"},"example":"$..title"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"path":"$..title","count":2,"results":[{"path":"$['store']['book'][0]['title']","pointer":"/store/book/0/title"},{"path":"$['store']['book'][1]['title']","pointer":"/store/book/1/title"}]},"meta":{"timestamp":"2026-05-30T18:16:51.957Z","request_id":"573a1ee4-b518-4cc9-aae5-eec00f26a672"},"status":"ok","message":"OK","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/query":{"get":{"operationId":"get_v1_query","tags":["JSONPath"],"summary":"Query JSON with JSONPath","description":"","parameters":[{"name":"json","in":"query","required":true,"description":"JSON document (object or JSON string)","schema":{"type":"string"},"example":"{\"store\":{\"book\":[{\"title\":\"A\",\"price\":8},{\"title\":\"B\",\"price\":13}]}}"},{"name":"path","in":"query","required":true,"description":"JSONPath expression","schema":{"type":"string"},"example":"$..book[?(@.price>10)].title"},{"name":"type","in":"query","required":false,"description":"value | path | pointer | parent (default value)","schema":{"type":"string"},"example":"value"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"path":"$..book[?(@.price>10)].title","type":"value","count":1,"matches":["B"]},"meta":{"timestamp":"2026-05-30T18:16:52.044Z","request_id":"00560872-01bc-42b2-84ff-50c398653f3c"},"status":"ok","message":"OK","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":1000,"rps_limit":2,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":200,"monthly_call_quota":60000,"rps_limit":5,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":700,"monthly_call_quota":400000,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":1800,"monthly_call_quota":2000000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/jsonpath-api"}