Avcros Datalink API
Welcome to the Avcros Datalink API. You can use our REST API to access verified sports statistics, player profiles, and match data programmatically. This documentation will guide you through making your first request.
All API endpoints are rooted at:
Authentication
The Avcros Datalink API uses API keys to authenticate requests. You can view and manage your API keys in your Developer Dashboard.
Authentication is performed via the Authorization header. Provide your API key as a Bearer token:
curl -X GET "https://api.avcros.com/v1/cricket/players?name=Rashid" \
-H "Authorization: Bearer avcros_live_your_api_key"
Rate Limits
API limits depend on your active subscription tier. If you exceed your monthly limit, the API will return a 429 Too Many Requests status code. You can upgrade your plan at any time.
| Plan | Monthly Requests | Rate (req/sec) |
|---|---|---|
| Free | 1,000 | 2 |
| Pro | 50,000 | 10 |
| Team | 250,000 | 50 |
| Enterprise | Unlimited | Custom |
Cricket Players
Search for cricket players by name. This endpoint returns an array of player objects matching your query.
Get Players by Name
GET /v1/cricket/players?name={query}
const response = await fetch('https://api.avcros.com/v1/cricket/players?name=Rashid', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
Sample Response:
[
{
"id": "a1b2c3d4-...",
"name": "Rashid Khan",
"team": "Afghanistan",
"role": "Bowler",
"batting_style": "Right-hand bat",
"bowling_style": "Right-arm leg break",
"player_stats": {
"t20": {
"bowling": { "wickets": 148, "economy": 6.30 }
}
}
}
]
Get Player by ID
Retrieve the full detailed profile of a specific player using their unique ID.
Get a Player
GET /v1/cricket/players/{id}
Example: /v1/cricket/players/a1b2c3d4-e5f6...