SDKs & Libraries
Official and community SDKs, tools, and integrations for TheAffiliateIndex API.
REST API
The REST API works with any HTTP client in any language — no SDK required. Pass your API key via the X-API-Key header and you're good to go.
javascript
const res = await fetch("https://api.theaffiliateindex.com/v1/programs", {
headers: { "X-API-Key": process.env.TAI_API_KEY }
});
const { data } = await res.json();python
import requests
res = requests.get(
"https://api.theaffiliateindex.com/v1/programs",
headers={"X-API-Key": os.environ["TAI_API_KEY"]}
)
data = res.json()["data"]bash
curl -H "X-API-Key: $TAI_API_KEY" \
"https://api.theaffiliateindex.com/v1/programs"MCP Server
Coming Soon
i
We're building a Model Context Protocol (MCP) server that will let AI agents like Claude, ChatGPT, and custom agents query TheAffiliateIndex directly.
MCP is an open protocol for connecting AI models to external data sources and tools. Our MCP server will expose TheAffiliateIndex API as a set of tools that any MCP-compatible agent can call natively.
What it will enable:
- AI agents can search and compare affiliate programs in real time
- Build AI-powered affiliate recommendation tools
- Integrate affiliate data into AI workflows and pipelines
Star our GitHub repo to get notified when it's available.
Community contributions
We welcome community SDKs and integrations. If you build something cool with our API, let us know — we'd love to feature it here.
Interested in building an official SDK? Reach out via our contact page and we'll get you set up.