Skip to Content
API ReferenceAccount Info

Account Info

Retrieve your account details, tier information, rate limits, and enabled features.

GET /api/v1/account

This 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 -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_acct123xyz

Error Responses

401 Unauthorized

{ "error": { "code": "unauthorized", "message": "Invalid or missing API key", "docs": "https://sharpapi.io/docs/authentication" } }

Response Fields

Key Object

FieldTypeDescription
idstringIdentifier for the API key used in this request
tierstringSubscription tier: free, hobby, pro, sharp, or enterprise
user_idstringUser identifier (when available)

Limits Object

FieldTypeDescription
requests_per_minutenumberMaximum API requests allowed per minute
max_streamsnumberMaximum concurrent SSE/WebSocket streams (0 if streaming not enabled)
odds_delay_secondsnumberOdds data delay in seconds (0 for paid tiers, 60 for free)
max_booksnumberMaximum sportsbooks accessible on your tier

Features Object

FieldTypeDescription
evbooleanAccess to +EV opportunity detection
arbitragebooleanAccess to arbitrage detection
middlesbooleanAccess to middles detection
streamingbooleanAccess to SSE/WebSocket streaming (via add-on, trial, or enterprise)

Add-ons

FieldTypeDescription
addonsstring[]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.

FieldTypeDescription
activebooleanWhether a streaming trial is currently active
eligiblebooleanWhether the user is eligible for a trial
usedbooleanWhether the user has already used their trial
activated_atstringISO 8601 timestamp when the trial was activated
expires_atstringISO 8601 timestamp when the trial expires
remaining_hoursnumberHours 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()); }
Last updated on