Adsourcer Developer
Build with Adsourcer
Adsourcer is the API layer for sponsored recommendations in AI apps. Publishers retrieve relevant ads; advertisers run campaigns — all through one infrastructure.
Markdown for agents · llms-full.txt
How it works
A user message flows through intent parsing, semantic retrieval, relevance ranking, and second-price auction logic. When commercial intent is detected, your app receives structured ad objects with mandatory disclosure metadata.
- Your app sends the conversation context to
POST /v1/ads/recommend - Adsourcer returns ranked candidates or a
NO_ADdecision - You render the UI — Adsourcer never injects markup
- Users click through signed
click_urlredirects for attribution
Choose your path
Base URL
All public endpoints use the /v1/ prefix. Local development defaults to http://localhost:8000.
Interactive API explorer
When the API is running, OpenAPI docs are available at http://localhost:8000/docs.