Skip to main content

Base URL

All API requests should be made to:
https://chatads--chatads-api-fastapiserver-serve.modal.run

Authentication

All API endpoints require authentication via the X-API-Key header.
curl -H "X-API-Key: YOUR_API_KEY" \
  https://chatads--chatads-api-fastapiserver-serve.modal.run/v1/chatads/messages
Get your API key from app.getchatads.com/settings/api-keys.

Request Format

All requests should:
  • Use Content-Type: application/json
  • Include the X-API-Key header
  • Send data in JSON format

Response Format

All responses follow this structure:
{
  "success": boolean,
  "data": object | null,
  "error": object | null,
  "meta": {
    "request_id": string,
    "country": string,
    "language": string,
    "usage": object
  }
}

Endpoints

POST /v1/chatads/messages

Analyze a message for affiliate opportunities

Error Handling

See Error Handling for details on error codes and responses.

Rate Limits

See Rate Limits for information about request quotas.