---
name: jsonpath-tester
description: "JSON Path Tester (JSON Path Tester) via devops.majbase.com's free public API, no key required. Keywords: jsonpath query tester, test json path expression."
---

# JSON Path Tester

JSON Path Tester. Calls devops.majbase.com's free public API — no API key or authentication required.

## Endpoint

```
GET/POST https://devops.majbase.com/jsonpath-tester/api
```

## Request / Response

```
API: GET or POST /jsonpath-tester/api
  json=<string>    (required) - the JSON document to query
  path=<string>    (required) - a JSONPath expression, e.g. "$.store.book[*].author"
Returns {"matches": [{"path": "$.store.book[0].author", "value": ...}, ...]},
or {"error": "..."} for malformed JSON or an invalid path.
```

## Example

```bash
curl -sS "https://devops.majbase.com/jsonpath-tester/api" \
    --data-urlencode 'json={"store":{"book":[{"author":"A","price":8.9}]}}' \
    --data-urlencode 'path=$.store.book[*].author'
```

## Notes

- No API key or authentication required.
- Full interactive tool: https://devops.majbase.com/jsonpath-tester/
