Authentication

To authenticate your API requests, you need to use bearer tokens. Include your bearer token in the Authorization header of each request.

Example using cURL

Here’s an example of how to make an authenticated request using cURL:

curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://api.cdr.fyi/v1/orders

Obtaining an Access Token

To obtain an access token, follow these steps:

  1. Log in to your CDR.fyi account.
  2. Navigate to your settings page.
  3. Click on “API Access”.
  4. Click “Generate New Token”.
  5. Copy the generated token.

NOTE: You will need access to the CDR.fyi Partner Portal to use the API. If you do not have access, apply here.

Important: Keep your access token secure and do not share it publicly. If you suspect your token has been compromised, generate a new one and update your application immediately.

Token Expiration

Access tokens currently do not expire. However, we recommend periodically rotating your tokens as a best practice for security.

Rate Limiting

The CDR.fyi API is rate limited to prevent abuse and ensure fair usage. If you exceed the rate limits, you will receive a 429 Too Many Requests response.

Current rate limits:

  • 100 requests per minute per token
  • 1000 requests per hour per token

If you need higher rate limits for your application, please contact us.