Skip to content
 

HTTP API

API Reference

Query offers from user intent with Offer Query. Separately, use Location Search for registry lookup and normalization. For an enabled account, manage issued keys in Developer Portal.

Base URL
https://api.aon.pro
Authentication
Bearer API key
Contract
OpenAPI connected

API surfaces

Choose an operation and work directly from its schema and examples. Location lookup results are not Query v1.0 viewer context.

First request

Start with a bounded query

  1. Without an issued key, run the Public Test Sandbox to inspect a fixed v1.0 Query and response.
  2. For production traffic, use an issued API key as the bearer token.
  3. Send structured intent and only v1.0-declared context, then preserve returned actions and tracking data.
First offer query
curl
curl -X POST https://api.aon.pro/v1/offers/query \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "AON-Protocol-Version: 1.0" \
  -d '{
    "intent": {
      "content": [
        { "type": "input_text", "text": "noise cancelling headphones under $200" }
      ],
      "provenance": "user_expressed",
      "signals": {
        "budget": { "max": 200, "currency": "USD" }
      }
    },
    "context": {
      "platform": { "name": "api-client", "channel": "api" },
      "session": { "recent_topics": ["headphones"] }
    },
    "placement_id": "plc_A1b2C3d4E5f6G7h8",
    "constraints": {
      "category_ids": ["computers_electronics.consumer_electronics"]
    },
    "force_offer": false,
    "response_options": { "thinking_mode": true }
  }'
Reference provenance and coverage

Services OpenAPI source connected. This page renders from a checked-in services-side OpenAPI artifact, then layers partner-oriented guidance on top of the generated contract.

This checked-in artifact now prioritizes field-level detail for the main developer and partner onboarding routes. Less frequently used endpoints still render from the generated source, but may expose lighter request or response depth until future documentation passes.