Account Info
Retrieve your account details, tier information, rate limits, and enabled features.
GET /api/v1/accountThis endpoint replaces the former /me endpoint. The response format has been updated to use the standard v1 envelope.
Authentication
Requires API key. Available to all tiers.
Example Requests
cURL
curl -X GET "https://api.sharpapi.io/api/v1/account" \
-H "X-API-Key: YOUR_API_KEY"Response
Success (200)
{
"data": {
"key": {
"id": "key_abc123def456",
"tier": "pro"
},
"limits": {
"requests_per_minute": 300,
"max_streams": 10,
"odds_delay_seconds": 0,
"max_books": 15
},
"features": {
"ev": true,
"arbitrage": true,
"middles": true,
"streaming": true
},
"addons": ["websocket"],
"streaming_trial": {
"active": false,
"eligible": false,
"used": true,
"activated_at": "2026-01-15T12:00:00Z",
"expires_at": "2026-01-15T16:00:00Z"
}
},
"meta": {
"updated_at": "2026-02-08T14:44:32.123Z"
}
}Response Headers
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 287
X-RateLimit-Reset: 1707401100
X-Data-Delay: 0
X-Request-Id: req_acct123xyzError Responses
401 Unauthorized
{
"error": {
"code": "unauthorized",
"message": "Invalid or missing API key",
"docs": "https://sharpapi.io/docs/authentication"
}
}Response Fields
Key Object
| Field | Type | Description |
|---|---|---|
id | string | Identifier for the API key used in this request |
tier | string | Subscription tier: free, hobby, pro, sharp, or enterprise |
user_id | string | User identifier (when available) |
Limits Object
| Field | Type | Description |
|---|---|---|
requests_per_minute | number | Maximum API requests allowed per minute |
max_streams | number | Maximum concurrent SSE/WebSocket streams (0 if streaming not enabled) |
odds_delay_seconds | number | Odds data delay in seconds (0 for paid tiers, 60 for free) |
max_books | number | Maximum sportsbooks accessible on your tier |
Features Object
| Field | Type | Description |
|---|---|---|
ev | boolean | Access to +EV opportunity detection |
arbitrage | boolean | Access to arbitrage detection |
middles | boolean | Access to middles detection |
streaming | boolean | Access to SSE/WebSocket streaming (via add-on, trial, or enterprise) |
Add-ons
| Field | Type | Description |
|---|---|---|
addons | string[] | Active add-ons (e.g., ["websocket"]) |
Streaming Trial Object (Optional)
Present when the user has an active trial, is eligible, or has used a trial.
| Field | Type | Description |
|---|---|---|
active | boolean | Whether a streaming trial is currently active |
eligible | boolean | Whether the user is eligible for a trial |
used | boolean | Whether the user has already used their trial |
activated_at | string | ISO 8601 timestamp when the trial was activated |
expires_at | string | ISO 8601 timestamp when the trial expires |
remaining_hours | number | Hours remaining on the trial |
Use Cases
Check Feature Access Before Making Requests
const { data: account } = await fetch(
'https://api.sharpapi.io/api/v1/account',
{ headers: { 'X-API-Key': 'YOUR_API_KEY' } }
).then(r => r.json());
if (!account.features.ev) {
console.log('Upgrade to Pro tier for +EV detection');
} else {
// Proceed with EV endpoint
const evData = await fetch(
'https://api.sharpapi.io/api/v1/opportunities/ev',
{ headers: { 'X-API-Key': 'YOUR_API_KEY' } }
).then(r => r.json());
}Related Endpoints
- Usage Stats - Detailed request and streaming usage
- API Key Management - Create, rotate, and delete API keys
- Authentication - How to authenticate requests
- Pricing - Compare tier features and limits
Last updated on