JSON
How to Use JSONPath
Pull values out of nested API JSON with JSONPath expressions. FreeToolMate runs the query in your browser so sample payloads stay private.
Steps
- Open the JSONPath Tester.
- Paste JSON (or format it first with JSON Beautify).
- Enter an expression such as
$.items[*].idor$..error. - Run the query and copy matching values.
- Refine the path until only the fields you need remain.
Starter expressions
$.user.name— one field$.items[*].price— every item price$..id— everyidanywhere in the tree$.items[?(@.active==true)]— filter objects
Related reading
- JSONPath Cheat Sheet
- JSON Viewer when you need a tree instead of paths
- JSON API Tester to fetch live responses