API Skins
AI agentsMCP · OpenAPI · llms.txt

Give your agent CS2 skin prices

Everything an AI agent needs to look up prices on 27 marketplaces, read Steam inventories and run your trading robots: an MCP server, an OpenAPI document, llms.txt, and a tool definition to copy.

MCP server

Connect it as an MCP server.

Claude, Cursor, VS Code and other MCP clients connect to https://api.apiskins.com/mcp with your key and get the API as tools. Each tool call is one API request, within your plan's limits.

  • find_items · Exact market_hash_names from a few words of a name.
  • get_offers · The cheapest listing of up to 100 items on every marketplace.
  • get_buy_orders · The highest buy orders on each marketplace that has them.
  • get_sales_summary · Sales, median and average prices over 7 to 90 days.
  • get_items · What each item is: weapon, wear, rarity, collections and cases.
  • get_inventory · Every CS2 item in a Steam inventory, by Steam ID or trade URL.

Claude Code

claude mcp add --transport http apiskins https://api.apiskins.com/mcp \
  --header "X-API-KEY: <your key>"

Cursor, Windsurf and other clients

{
  "mcpServers": {
    "apiskins": {
      "url": "https://api.apiskins.com/mcp",
      "headers": { "X-API-KEY": "<your key>" }
    }
  }
}

The key goes in the X-API-KEY header, or as Authorization: Bearer. Connecting and listing the tools need no key.

Connecting an agent

Three steps, about a minute.

  1. 1Sign in with Steam and make a key on the API docs page. The free plan includes 100 requests every 30 days on every marketplace.
  2. 2Keep the key in your agent's environment, never in the prompt: the agent calls a tool, your code adds the X-API-KEY header.
  3. 3Point the agent at https://api.apiskins.com, either by loading /openapi.json into your framework or with the tool below.

A price tool to copy

The definition the model sees (JSON Schema, works with Claude, OpenAI and most agent frameworks), and the function that runs it.

{
  "name": "get_cs2_skin_prices",
  "description": "Lowest listing of CS2 items on each marketplace, in USD.",
  "input_schema": {
    "type": "object",
    "properties": {
      "market_hash_names": {
        "type": "array",
        "items": { "type": "string" },
        "maxItems": 100,
        "description": "Exact Steam market names, e.g. \"AK-47 | Redline (Field-Tested)\""
      },
      "providers": {
        "type": "array",
        "items": { "type": "string" },
        "description": "Marketplaces, e.g. [\"cs_float\", \"buff_163\"]. All when left out"
      }
    },
    "required": ["market_hash_names"]
  }
}
async function get_cs2_skin_prices({ market_hash_names, providers }) {
    const response = await fetch("https://api.apiskins.com/v1/offers/batch", {
        method: "POST",
        headers: { "X-API-KEY": process.env.API_SKINS_KEY, "Content-Type": "application/json" },
        body: JSON.stringify({ market_hash_names, providers }),
    });
    return response.json();
}

Letting an agent trade

Real money, real limits.

Limits it cannot cross

The same key manages your robots: list an account's inventory, put items up for sale, place buy orders and change their limits. The robot never sells under the minimum or buys over the maximum the agent sets, but those limits are real money: review what your agent may do before giving it write access.

Your marketplace keys stay out

Marketplace API keys are never handled through the API; accounts are connected on the robot's page by you.

A rate limit to respect

Every request counts toward your plan's per-minute rate limit, and a request over it answers 429 with Retry-After, which agents should wait out instead of retrying at once.

Questions

CS2 data for AI agents

Yes, at https://api.apiskins.com/mcp: Claude, Cursor, VS Code and other MCP clients connect with your key in the X-API-KEY header, and get prices, buy orders, sales, item details and Steam inventories as tools.
Ours gives an agent every marketplace's cheapest listing (price API), buy orders (buy order API), sales and volume (sales API) and what each item is (item API), all with one key and one OpenAPI document.
Yes. Load /openapi.json into a framework or a GPT action, or copy the tool definition on this page: it is plain JSON Schema, which Claude, OpenAI's models and most frameworks take.
The free plan includes 100 requests every 30 days on every marketplace, enough to try an agent. Paid plans add every item in one request and higher limits; see pricing.
Through your trading robots, yes: it can put items up for sale and place buy orders with prices and limits. It cannot connect marketplace accounts or see their keys; you do that on the robot's page.

Ready to build?

Get a key and try the first request in a minute.