Endpoints
Playground
Test extraction without an API key
POST
Playground
Overview
The/v1/playground endpoint allows you to test Parsefy without an API key. It’s designed for:
- Testing and evaluation
- Demos and proof-of-concept
- Learning how Parsefy works
Request
The document to extract data from.
- Supported formats: PDF (
.pdf), Microsoft Word (.docx) - Maximum size: 10 MB
A JSON Schema string defining the structure of data to extract.
Minimum confidence score (0.0 to 1.0) required before accepting Tier 1 results.
Enable math verification (totals, subtotals, taxes).
The origin of the request. Must be from an authorized domain (
https://parsefy.io).Response
The response format is identical to the /v1/extract endpoint:The extracted data matching your schema, including
_meta with confidence score and issues.Processing information including tokens, credits, and timing.
Present only if extraction failed.
Limits
| Limit | Value |
|---|---|
| Request Rate | 1 request per second per IP |
| Daily Credits | 10 credits per day per IP |
| Maximum File Size | 10 MB |
Credits reset at midnight UTC each day.
Example
The playground is available through the Parsefy website. Direct API calls to this endpoint require an authorized origin.
Response
Error Responses
Origin Not Allowed (403)
Origin header is missing or from a non-authorized domain.
Solution: Use the playground through parsefy.io or join the waitlist to get an API key for direct API access.
Daily Limit Exceeded (429)
- Wait until midnight UTC for reset
- Join the waitlist for an API key with unlimited extractions
Rate Limited (429)
When to Use Playground vs Extract
| Use Case | Endpoint |
|---|---|
| Testing and evaluation | /v1/playground |
| Learning the API | /v1/playground |
| Development/debugging | /v1/playground |
| Production applications | /v1/extract |
| High volume processing | /v1/extract |
| Server-side integrations | /v1/extract |
Upgrading to Production
Ready to move beyond the playground? Here’s how to switch:Get an API Key
Join the waitlist to get your API key.
Production Example
Playground
