# PostLake Documentation · The Social Media API For AI Agents > Markdown version of https://docs.postlake.dev/ . The canonical page for humans. > PostLake is the social media API for AI agents: https://postlake.dev/llms.txt PostLake is the social media API for AI agents. One integration, REST or a hosted MCP server, lets your code (or an agent) publish, schedule and pull analytics across every major network, with one normalised response for every platform. **New here?** Jump straight to the [Quickstart](https://postlake.dev/quickstart). You'll publish your first post in a few minutes. ## Pick your path [ ### Call the REST API → You're a developer or using a tool like Zapier. Create a key and publish from your own code. ](https://postlake.dev/quickstart) [ ### Connect an AI agent → Point Claude, ChatGPT or Cursor at the hosted MCP server and just ask it to post. No code. ](https://postlake.dev/mcp) ## The essentials | **Base URL** | `https://api.postlake.dev` | | --- | --- | | **Auth** | Bearer token: `Authorization: Bearer YOUR_API_KEY` | | **Format** | JSON requests and responses, unless noted | | **MCP server** | `https://api.postlake.dev/mcp` | ## How PostLake works You connect your social accounts once. Then a single `POST /v1/posts` call fans out to every account you choose and returns **one normalised response**: a post id plus a `targets` array, one entry per account, telling you exactly what happened and where. Your code never branches per platform. - **Managed keys**: platform connections are handled for you, so there's no per-platform developer app to register. - **Agent-safe**: idempotency keys mean a retrying agent never double-posts. - **Usage-based**: a free tier to start, then you pay per post. See [pricing](https://postlake.dev/pricing).