AI agent skills for working with the CardTrader REST API. Provides comprehensive guidance for marketplace operations, inventory management, order fulfillment, and wishlist management.
Install this skill using the GitHub Copilot Skills CLI:
npx skills add https://github.com/eomm/cardtrader-api-skills --skill cardtrader-apiThis will add the CardTrader API skill to your local skills directory, making it available to your AI agent.
A complete skill for interacting with CardTrader's trading card marketplace API.
Capabilities:
- Marketplace Operations: Search products, manage cart, purchase, create wishlists
- Inventory Management: List, create, update, and delete products (single and batch operations)
- Order Management: List orders, update status, ship orders, handle cancellations
- Reference Data: Access games, categories, expansions, blueprints, and properties
- CSV Import/Export: Bulk inventory operations via CSV files
- CardTrader Zero: Special handling for CardTrader Zero orders and inventory
Response Examples: Includes JSON response examples in examples/ for common endpoints:
expansions.json- Expansion/set listingsblueprints.json- Card blueprint details with editable propertieswishlist.json- Wishlist structure with itemsmarketplace-products.json- Product search results
Once installed, the skill automatically activates when you:
- Mention CardTrader API operations
- Ask about trading card marketplace integration
- Need to manage inventory or orders
- Want to search for cards or manage wishlists
Example prompts:
- "Search for Magic cards in the Core Set 2019 expansion"
- "How do I create a product listing for a Near Mint card?"
- "Show me how to process CardTrader Zero orders"
- "Bulk update my inventory prices using the API"
To use the CardTrader API, you'll need:
- API Token: Obtain from your CardTrader profile settings
- Base URL:
https://api.cardtrader.com/api/v2 - Authentication: Bearer token in request headers
Authorization: Bearer [YOUR_AUTH_TOKEN]- General endpoints: 200 requests per 10 seconds
- Marketplace products: 10 requests per second
- Job status checks: 1 request per second
The full API documentation is available at CardTrader API Docs.
MIT