Example Request

Example Request

A real request example you can copy and test.

Essentials

Example Request

A real request example you can copy and test.

cURL

This is the basic pattern for every protected endpoint.

curl -X GET "https://api.prida.site/saas/v1/odds" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json"

What each part does

-X GET
Uses the read-only method for this endpoint.
Authorization
Adds your private API key to the request.
Accept
Requests JSON back from the API.
Endpoint
Change the path to match the resource you need.

What to expect

The API should return JSON with status information and data for the requested endpoint.

200 OK
Request succeeded and returned data.
401 Unauthorized
Your API key is missing or invalid.

Related links