🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

fetch-price

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fetch-price

Live UK marketplace product search for AI agents. eBay UK live via Browse API; Amazon UK rolling out. Normalised JSON, affiliate links included.

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
59
145.83%
Maintainers
1
Weekly downloads
 
Created
Source

fetch-price

Live UK marketplace product search for AI agents and humans. One call returns real items with real prices, normalised JSON, and affiliate-tracked buy links. eBay UK is live via the official Browse API; Amazon UK is rolling out.

npm install fetch-price
import FetchPrice from "fetch-price";

const fp = new FetchPrice();            // keyless free tier: 50 lookups/month
const r = await fp.search("portable air conditioner", { max_results: 3, max_price: 300 });
for (const p of r.results) {
  console.log(`${p.product}: £${p.price} (${p.network}) -> ${p.url}`);
}

With an API key (higher limits, BYOK affiliate routing):

const fp = new FetchPrice("fp_...");    // or set FETCH_PRICE_API_KEY

Every result carries a result_type: "item" is a real listing, "search_link" is a tracked marketplace search fallback with price: 0 (served for networks not yet live, or if the upstream API is briefly unavailable). compare() ignores fallbacks.

  • Docs: https://fetch-price.com/docs
  • Get a key: https://fetch-price.com/docs#get-key
  • Agent card (A2A): https://fetch-price.com/.well-known/agent-card.json
  • MCP server + Python SDK: https://github.com/fusionx212/fetch-price

MIT licence.

Keywords

affiliate

FAQs

Package last updated on 27 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts