POST

Extract values from JSON document using JSONPath expression. Uses jsonpath

/v1/jsonpath-extract

Validation · jsonpath

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/jsonpath-extract
Content-Type: application/json

{
  "json": {
    "hello": "world"
  },
  "path": "example"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Extract values from JSON document using JSONPath expression. Uses jsonpath.

Request schema

Body: JSON · application/json

FieldTypeDescription
jsonstringrequired
pathstringrequired
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/jsonpath-extract \
  -H "Content-Type: application/json" \
  -d '{
  "json": {
    "hello": "world"
  },
  "path": "example"
}'

402 payment flow omitted — see Integrations for settlement.