Get Your API Key

All API requests to the SG Cars Trends API must be authenticated with a Bearer token.

Contact the SG Cars Trends team to obtain your API key. You can reach out through our GitHub repository or via email.

Make Your First API Call

curl -X GET \
  "https://api.sgcarstrends.com/v1/cars?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

Understanding the Response

The API returns structured JSON data with car registration statistics:

{
  "success": true,
  "data": [
    {
      "month": "2024-01",
      "make": "Toyota",
      "fuel_type": "Petrol",
      "vehicle_type": "Passenger Cars",
      "number": 245
    },
    {
      "month": "2024-01",
      "make": "Honda",
      "fuel_type": "Petrol",
      "vehicle_type": "Passenger Cars",
      "number": 189
    }
  ],
  "total": 2,
  "page": 1,
  "limit": 50
}

Try Different Endpoints

Common Use Cases

curl "https://api.sgcarstrends.com/v1/cars?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

2. Filter by Fuel Type

curl "https://api.sgcarstrends.com/v1/cars/fuel-types/Electric?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

3. Get Latest COE Bidding Results

curl "https://api.sgcarstrends.com/v1/coe/latest" \
  -H "Authorization: Bearer YOUR_API_KEY"

4. Compare Year-over-Year Growth

curl "https://api.sgcarstrends.com/v1/cars/compare?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

Next Steps

Rate Limits

The API has the following rate limits:

  • 100 requests per minute for authenticated requests
  • 10 requests per minute for unauthenticated requests

If you need higher rate limits, please contact our team to discuss your use case.

Get Your API Key

All API requests to the SG Cars Trends API must be authenticated with a Bearer token.

Contact the SG Cars Trends team to obtain your API key. You can reach out through our GitHub repository or via email.

Make Your First API Call

curl -X GET \
  "https://api.sgcarstrends.com/v1/cars?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

Understanding the Response

The API returns structured JSON data with car registration statistics:

{
  "success": true,
  "data": [
    {
      "month": "2024-01",
      "make": "Toyota",
      "fuel_type": "Petrol",
      "vehicle_type": "Passenger Cars",
      "number": 245
    },
    {
      "month": "2024-01",
      "make": "Honda",
      "fuel_type": "Petrol",
      "vehicle_type": "Passenger Cars",
      "number": 189
    }
  ],
  "total": 2,
  "page": 1,
  "limit": 50
}

Try Different Endpoints

Common Use Cases

curl "https://api.sgcarstrends.com/v1/cars?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

2. Filter by Fuel Type

curl "https://api.sgcarstrends.com/v1/cars/fuel-types/Electric?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

3. Get Latest COE Bidding Results

curl "https://api.sgcarstrends.com/v1/coe/latest" \
  -H "Authorization: Bearer YOUR_API_KEY"

4. Compare Year-over-Year Growth

curl "https://api.sgcarstrends.com/v1/cars/compare?month=2024-01" \
  -H "Authorization: Bearer YOUR_API_KEY"

Next Steps

Rate Limits

The API has the following rate limits:

  • 100 requests per minute for authenticated requests
  • 10 requests per minute for unauthenticated requests

If you need higher rate limits, please contact our team to discuss your use case.