Skip to content
Utilerio
All endpoints

JSON Query Tester (JMESPath)

POST/api/v1/tools/json-query-tester

Test a JMESPath query against a JSON document and see the extracted result instantly.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/json-query-tester

Parameters

jsonstringrequired

JSON document to query.

querystringrequired

JMESPath query expression.

Request body

{
  "json": "{\"people\":[{\"name\":\"Ada\",\"age\":30},{\"name\":\"Alan\",\"age\":28}]}",
  "query": "people[?age > `25`].name"
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/json-query-tester \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"json":"{\"people\":[{\"name\":\"Ada\",\"age\":30},{\"name\":\"Alan\",\"age\":28}]}","query":"people[?age > `25`].name"}'

Response

{ "result": ["Ada", "Alan"] }