This guide will help you get started with the SimplyCPF API.
Prerequisites#
No authentication is required. All endpoints are publicly accessible.
Making Your First Request#
Using curl#
Using JavaScript/TypeScript#
Using Python#
Response Format#
All successful responses return JSON with the following structure:
Error Handling#
When an error occurs, the API returns an appropriate HTTP status code with an error message:
Common Status Codes#
| Status | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 429 | Too Many Requests - Rate limit exceeded |
| 404 | Not Found - Endpoint does not exist |
| 500 | Internal Server Error |
Rate Limits#
Production CPF API endpoints are limited to 10 requests per 10 seconds per client IP. If you exceed the limit, the API returns HTTP 429:
Back off and retry after the current 10-second window before sending more requests.
Next Steps#
- Explore the API Reference for detailed endpoint documentation
- Check out Examples for common use cases
- View the Changelog for recent updates