API Playground

Test the Parse, Classify, Split, and Extract APIs with real documents. Usage counts against your quota.

No API key available

You need an active API key to use the playground. Create one here

Select API

Input

API Details

Endpoint:POST /v1/parse
Auth:X-API-Key
Cost:$0.05/page

Output

Upload a document and run the API to see results

Code Examples

cURL — 3-step presigned URL flow

# Step 1: get a presigned S3 upload URL
RESP=$(curl -s -X POST https://api.hyperapi.io/v1/documents/upload \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filename":"document.pdf","content_type":"application/pdf"}')

DOCUMENT_KEY=$(echo $RESP | python3 -c "import sys,json; print(json.load(sys.stdin)['document_key'])")
UPLOAD_URL=$(echo $RESP   | python3 -c "import sys,json; print(json.load(sys.stdin)['upload_url'])")

# Step 2: upload file directly to S3
curl -X PUT "$UPLOAD_URL" \
  -H "Content-Type: application/pdf" \
  -H "x-amz-server-side-encryption: AES256" \
  --data-binary "@document.pdf"

# Step 3: run parse
curl -X POST https://api.hyperapi.io/v1/parse \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "document_key=$DOCUMENT_KEY"

Python (SDK)

from hyperapi import HyperAPIClient

client = HyperAPIClient(api_key="YOUR_API_KEY")
result = client.parse("document.pdf")
print(result)