All API tools
JSON & Data
JSON Diff API
GET
/v1/json-diff Free tier1 credit / callAuthentication
Send your API key as a bearer token. Create one free in the dashboard.
Authorization: Bearer $TOOLSXPO_KEYParameters
Passed as query-string parameters. Example values shown.
| Name | Example |
|---|---|
| left | line one |
| right | line two |
Example request
curl "https://api.toolsxpo.com/v1/json-diff?left=line%20one&right=line%20two" \
-H "Authorization: Bearer $TOOLSXPO_KEY"Response
A standard JSON envelope: { ok, data, meta }. The result is in data (text); meta.credits reports what the call cost.