Complete reference for all SG Cars Trends API endpoints
Authentication | Rate Limit | Window |
---|---|---|
Authenticated | 100 requests | 1 minute |
Unauthenticated | 10 requests | 1 minute |
Parameter | Type | Description | Default |
---|---|---|---|
page | integer | Page number (1-based) | 1 |
limit | integer | Results per page (max 100) | 50 |
Parameter | Type | Description | Example |
---|---|---|---|
month | string | Filter by month (YYYY-MM) | 2024-01 |
make | string | Filter by car manufacturer | Toyota |
fuel_type | string | Filter by fuel type | Electric |
vehicle_type | string | Filter by vehicle type | Passenger Cars |
Parameter | Type | Description | Example |
---|---|---|---|
from | string | Start date (YYYY-MM) | 2024-01 |
to | string | End date (YYYY-MM) | 2024-12 |
Code | Status | Description |
---|---|---|
200 | OK | Request successful |
400 | Bad Request | Invalid request parameters |
401 | Unauthorized | Authentication required or invalid |
404 | Not Found | Resource not found |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Server error |
fetch()
, axios
requests
, httpx
cURL
, Guzzle
OkHttp
, HttpClient
net/http