Getting Started with AgentLayer
Connect AI agents to real APIs. Two paths — pick yours.
For AI Agents
1Add AgentLayer to Claude Desktop or Codex
Your AI agent will automatically discover stock prices, weather forecasts, code review, and news search — all with free tier quotas.
2Get Your Agent Key
Or register on the site → Dashboard → Generate Key. Format: al_agent_xxxxxxxx
3Make Your First API Call
stockGET · symbol: AAPL
weatherGET · city: Beijing
newsGET · q: AI agents
code-reviewPOST · code: (POST body)
For API Publishers
1Sign Up & Create Your API
Register an account → Dashboard → Click + Create API → Fill in your API details.
- API Name — unique identifier (e.g.
stock_price) - Base URL — your API's real endpoint (e.g.
https://api.example.com) - Price per Call — set your rate (e.g. $0.003/call)
- Free Calls — monthly free quota to attract agent developers
2Generate & Share Your Agent Key
Dashboard → Agent Keys → + Generate Key. Share this key with agent developers who want to call your API.
Agents use it in their Authorization: Bearer header. Every call is tracked in your Dashboard stats.
3Your API Goes Live
Once created, your API is automatically discoverable via 5 protocols:
AI agents on Claude, Codex, ChatGPT, and MCP-compatible platforms can find and call your API — no extra work needed.
Next: API reference for advanced configuration.
Read API Reference →