API Access
FETCH for Developers
Give any AI your FETCH API key. ChatGPT, Gemini, Claude, LangChain — any agent can search our marketplace, negotiate, and buy items. Users just get packages at their door.
ChatGPT / OpenAI
Google Gemini
Anthropic Claude
LangChain
Any REST client
🤖
Your AI
Parses intent
API Call
POST /api/v1/hunt
🔍
FETCH Searches
All listings
💬
Negotiates
Best price
📦
Doorstep
Delivered
POST/api/v1/hunt
Launch an AI buying agent. Searches FETCH, negotiates, creates order.
GET/api/v1/hunt/:id
Poll hunt status, agent log, and purchase result.
GET/api/v1/listings
Search and filter FETCH listings.
POST/api/v1/listings
Create a new listing via API.
Example
const res = await fetch("https://fetch-market-production.up.railway.app/api/v1/hunt", {
  method: "POST",
  headers: { "X-API-Key": "YOUR_FETCH_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    query:      "iPhone 14, min 64GB, under $200, cosmetic damage ok",
    max_price:  200,
    auto_buy:   true,
    negotiate:  true,
    webhook_url:"https://yourapp.com/webhooks/fetch"
  })
});
const { hunt_id } = await res.json();
// Poll /api/v1/hunt/:hunt_id — when status==="awaiting_payment", redirect user to checkout