Skip to content

Authentication

The DataParse API uses simple API key authentication. Include your API key in the x-api-key header of every request.

x-api-key: YOUR_API_KEY
Terminal window
curl -X POST https://api.datapar.se/v1/ \
-H "x-api-key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{"schema": {...}, "contents": [...]}'

If authentication fails, you’ll receive a 401 Unauthorized response:

{
"error": "Unauthorized"
}