# socialdata - **Get started** - [Introduction](/docs.md): socialdata answers questions about social media accounts and posts, for your code and for your agents. - [Quickstart](/docs/quickstart.md): Make your first API call, then connect an agent. - [Authentication](/docs/authentication.md): Send an API key over HTTP. Sign in through OAuth over MCP. - **MCP** - [Connect an MCP client](/docs/mcp.md): Add the socialdata MCP server to Claude Code, Cursor, Codex, or any MCP client. - [Tools](/docs/mcp/tools.md): The ten tools of the MCP server, and which one an agent should call first. - **Agents** - [Give an agent socialdata](/docs/agents.md): Connect an agent, give it rules, and the tool sequences for common tasks. - **Skills** - [Agent skill](/docs/skills.md): Download the socialdata skill, so an agent knows when and how to use socialdata. - **API reference** - [Overview](/docs/reference.md): The base URL, authentication, pages, and errors of the HTTP API. - [account_history](/docs/reference/account_history.md): Returns the followers, posts, likes, and views of one account per hour or per day, and its past handles, names, and biographies. Use it for growth over a date range, and lookup for the current numbers. - [health](/docs/reference/health.md): Answers 200 when the service can serve, needs no key, and reads no data. - [lookup](/docs/reference/lookup.md): Returns the current counts, profile or caption, and growth of one account or post that you name by a link, a handle, or an id. Use it when you can name the item, and use search_posts or search_accounts to find items you cannot name. - [post_history](/docs/reference/post_history.md): Returns the views, likes, comments, shares, and saves of one post at each measurement, every version of its caption, and the post's ids, link, and availability. Use it to see how a post grew, and lookup for its current numbers. - [search_accounts](/docs/reference/search_accounts.md): Returns the accounts that socialdata holds whose handle, name, or biography match your words, filtered and sorted by any count or growth. Use it to find or rank accounts, and lookup for one account you can name. - [search_posts](/docs/reference/search_posts.md): Returns the posts that socialdata holds whose caption, hashtags, or video match your words, filtered and sorted by any count or gain. Use it to find or rank posts, and lookup for one post you can name. - [sql](/docs/reference/sql.md): Runs one SELECT over socialdata's data and returns up to 1,000 rows. Use it only when no other tool answers the question, such as an aggregate over many accounts. - [track](/docs/reference/track.md): Adds 1 to 100 accounts or posts to a watchlist, and creates the watchlist when the name is new, so that socialdata measures them on a schedule. Each ref gets its own outcome in results. - [untrack](/docs/reference/untrack.md): Removes one item by its id, and its history stays readable. Use watchlist_items to find the id. - [watchlist_items](/docs/reference/watchlist_items.md): Returns each item with its id and the state of its updates, newest first. Use it to see what a watchlist holds, and the search tools with watchlist to rank its items. - [watchlists](/docs/reference/watchlists.md): Returns each watchlist with how many accounts and posts it holds, and whether your organization may track. Use it to find the names that the other watchlist tools take. - **Concepts** - [Name an account or a post](/docs/concepts/refs.md): The links, handles, and ids that the tools take. - [Read an answer](/docs/concepts/answers.md): The meta object, the freshness fields, null counts, and availability. - [Track accounts and posts](/docs/concepts/tracking.md): Watchlists, how often socialdata measures, and the result of each ref. - [Credits and limits](/docs/concepts/credits.md): What costs credits, the daily limit, and the rate limit. - **Errors** - [Errors](/docs/errors.md): Each error code, its HTTP status, and what a caller does about it.