# Sold comps for AI agents. Live prices as a tool call.

Give your agent what items really sold for on eBay, Poshmark and Mercari. The median, p25 and p75 come worked out, fetched live when it asks. Paste one tool definition, or connect the MCP server.

Web page: https://soldgraph.com/sold-comps-for-ai-agents

## Example

Tool definition (JSON Schema):

```json
{
  "name": "get_sold_comps",
  "description": "eBay sold prices for an item: median, p25, p75, low and high. Best Offer sales are flagged.",
  "parameters": {
    "type": "object",
    "properties": {
      "q": { "type": "string", "description": "The item as typed on eBay, like sony wh-1000xm5 -case" },
      "count": { "type": "integer", "enum": [40, 60, 120, 200] }
    },
    "required": ["q"]
  }
}
```

MCP server (Claude Code):

```bash
claude mcp add --transport http soldgraph \
  https://api.soldgraph.com/mcp \
  --header "Authorization: Bearer $SOLDGRAPH_KEY"
```

## Questions

### Is this a data set I download?

No. Each search runs live when your agent asks, and the answer stays cached for 15 minutes. eBay sold listings cover what eBay shows, about the last 90 days. This is not a multi-year history.

### Which agent frameworks does it work with?

Any agent that can call HTTP or MCP: the OpenAI Agents SDK, the Vercel AI SDK, LangChain, n8n, Claude, Cursor and more. For function calling, paste the tool definition and have your tool call `GET /v1/ebay/sold` with your key on the server. Claude's API names the schema `input_schema` instead of `parameters`.

### How does my agent get an API key?

It can ask for one. `POST https://api.soldgraph.com/v1/agent/keys` needs no key and returns a link and a code. Your user opens the link, signs in or creates a free account, and approves. The agent then claims the key once with `POST /v1/agent/keys/claim`. You can also make a key yourself on the API keys page.

### How fast is it?

A search cached in the last 15 minutes answers at once. A fresh one answers 202 with a job: long-poll it with `?wait=20` and it answers the moment the search finishes. The MCP server does the waiting for you, and hands back a `request_id` for `get_result` if a search runs past about 55 seconds.

### Which marketplaces have sold prices?

eBay in 8 countries, Poshmark in the US and Canada, and Mercari in the US return sold listings. Depop, Whatnot, Vinted, OfferUp and Facebook Marketplace return active listings and asking prices. TCGplayer returns market prices and a small sample of recent sales.

### How much does it cost?

One completed search is one request, whatever the marketplace. Failed searches are free. Start with 100 free requests, no credit card required. Paid plans start at $9 a month for 2,000 requests.

## Pricing

- Free: 100 requests once, no credit card required.
- Lite: $9 a month for 2,000 requests.
- Starter: $19 a month for 5,000 requests.
- Pro: $49 a month for 20,000 requests.
- Business: $149 a month for 100,000 requests.
- Scale: $499 a month for 350,000 requests.
- No plan: $10 per 1,000 requests, bought once. They never expire.
- Each completed search costs one request. Failed searches are free.

## Notes

- Soldgraph is not affiliated with eBay, Poshmark, Mercari or any AI company.

## Start

- [Get a free API key](https://soldgraph.com/signup?utm_source=page-md&utm_medium=ai&utm_content=sold-comps-for-ai-agents): 100 free requests, no credit card required.
- [Everything for agents in one file](https://soldgraph.com/llms.txt)
- [Docs for this page](https://soldgraph.com/docs/guides/ai-agents.md)
