AdAlign API

Integrate ad-to-landing page analysis into your tools, scripts, and AI agents. Evaluate alignment programmatically with our REST API.

Getting Started

  1. 1Create an account and subscribe to a Growth plan or above.
  2. 2Go to Settings → API Keys and create a new key.
  3. 3Include the key as a Bearer token: Authorization: Bearer adal_...

Authentication

Bearer Token

All API requests require a Bearer token in the Authorization header. API keys start with adal_ and consume from your monthly evaluation quota.

Authorization: Bearer adal_xK3mR7vN2pQw9...

Quick Start

curl -X POST https://app.adalign.io/api/analyze-ad \
  -H "Authorization: Bearer adal_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "adData": {
      "imageUrl": "https://example.com/ad.png",
      "platform": "meta"
    },
    "landingPageData": {
      "url": "https://example.com/landing"
    },
    "audienceData": {
      "ageRange": "25-34",
      "gender": "all",
      "interests": "marketing"
    }
  }'

Endpoints

Full OpenAPI spec available at /api/openapi

Rate Limits

PlanEvaluationsAPI Keys
Growth50/month5
Agency200/month20
Enterprise1,000/month50

API calls consume from the same monthly pool as browser evaluations. Limits reset on the 1st of each month.

Error Codes

StatusMeaning
401Invalid or missing API key
403API key lacks required scope
429Monthly evaluation limit reached
500Internal server error