Product price API

Turn a product URL into its price

Send the link of a product page from an online store. Get the price, currency, availability and title back as JSON. One format for every store, no scraper to maintain.

  • 1,000 free responses, no card
  • Pay only when a price is found
  • Plans from $29 a month
  • Any currency, any country
GET/v1/price?url=https://shop.example.com/product/12345
application/json200 OK
{
  "price": 129.00,
  "currency": "USD",
  "in_stock": true,
  "title": "Wireless headphones, black",
  "source": "jsonld",
  "checked_at": "2026-12-03T20:15:04Z",
  "cached": false
}
from $1.20
per 1,000 responses
$0
for errors and pages without a price
up to 600
requests per minute
100 URLs
in a single request
Features

One API instead of a scraper for every store

You send a product URL. We load the page, find the price and answer in a single format.

Works with most stores

Marketplaces, retail chains and small shops. If a store doesn't work yet, send us the link and we'll look at adding it.

Up to 100 URLs per request

Send a list of product URLs to /v1/prices and get every price in one response.

Pay for results

Only responses with a price or an “out of stock” count toward your plan. Errors and pending responses are free.

More than the price

When the page has them: the price before the discount, pictures, description, brand, part number and key specs.

You decide how fresh

A repeat request for the same URL is answered from cache. Set the age you accept with max_age.

Usage stats and a request log

Daily requests, every response and your remaining quota, in the dashboard and via /v1/account.

How it works

From URL to JSON in three steps

1

We load the page

The page is opened the way a shopper sees it, including prices drawn by JavaScript.

2

We find the price

First from the page's own product markup. If there is none, the price is read from a screenshot and checked against the page text.

3

You get JSON

Price, ISO 4217 currency, availability and title, the same fields for every store.

Pricing

Simple monthly plans

Start with 1,000 free responses. Prices are in US dollars. Unused responses don't roll over to the next month.

Starter
$29 / month
$5.80 per 1,000 responses
  • 5,000 responses per month
  • up to 30 requests per minute
  • up to 3 API keys
  • usage stats and request log
Choose
Pro
$299 / month
$1.20 per 1,000 responses
  • 250,000 responses per month
  • up to 600 requests per minute
  • up to 50 API keys
  • usage stats and request log
Choose

Need more responses, or an invoice for your company? Get in touch and we'll work out terms.

Contact us
Quick start

Up and running in minutes

  1. Sign up and get 1,000 free responses right away.
  2. Create an API key in the dashboard. It's shown only once.
  3. Send a request with a product page URL.
Full reference for parameters, responses and errors
curl -G "https://urltoprice.com/v1/price" \
  -H "Authorization: Bearer pa_your_key" \
  --data-urlencode "url=https://shop.example.com/product/12345"
import time
import requests

def get_price(url):
    while True:
        r = requests.get("https://urltoprice.com/v1/price",
                         params={"url": url},
                         headers={"Authorization": "Bearer pa_your_key"},
                         timeout=130)
        if r.status_code == 202:  # the page is still loading
            time.sleep(int(r.headers.get("Retry-After", 10)))
            continue
        return r.status_code, r.json()

status, data = get_price("https://shop.example.com/product/12345")
if status == 200:
    print(data["price"], data["currency"], data["in_stock"])
else:
    print(data["error"]["code"], data["error"]["message"])
// Node.js 18+ or a browser (don't expose your API key in your users' browsers)
async function getPrice(url) {
  const api = new URL("https://urltoprice.com/v1/price");
  api.searchParams.set("url", url);
  for (;;) {
    const r = await fetch(api, { headers: { Authorization: "Bearer pa_your_key" } });
    if (r.status === 202) {
      await new Promise(ok => setTimeout(ok, 10_000));
      continue;
    }
    return { status: r.status, data: await r.json() };
  }
}

const { status, data } = await getPrice("https://shop.example.com/product/12345");
console.log(status, data.price, data.currency, data.in_stock);
<?php
function getPrice(string $url): array {
    $api = "https://urltoprice.com/v1/price?" . http_build_query(["url" => $url]);
    do {
        $ch = curl_init($api);
        curl_setopt_array($ch, [
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_TIMEOUT => 130,
            CURLOPT_HTTPHEADER => ["Authorization: Bearer pa_your_key"],
        ]);
        $body = curl_exec($ch);
        $status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
        curl_close($ch);
        if ($status == 202) sleep(10);
    } while ($status == 202);
    return [$status, json_decode($body, true)];
}

[$status, $data] = getPrice("https://shop.example.com/product/12345");
if ($status == 200) echo $data["price"], " ", $data["currency"];
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Text.Json;

var http = new HttpClient { Timeout = TimeSpan.FromSeconds(130) };
http.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", "pa_your_key");

var api = "https://urltoprice.com/v1/price?url=" + Uri.EscapeDataString("https://shop.example.com/product/12345");
HttpResponseMessage r;
while ((r = await http.GetAsync(api)).StatusCode == System.Net.HttpStatusCode.Accepted)
    await Task.Delay(TimeSpan.FromSeconds(10));

var data = await r.Content.ReadFromJsonAsync<JsonElement>();
if (r.IsSuccessStatusCode)
    Console.WriteLine($"{data.GetProperty("price")} {data.GetProperty("currency")}");
FAQ

Frequently asked questions

Didn't find an answer? Contact support

How long does a request take?

Instant if the URL was requested recently. A new page usually takes 10–40 seconds. If it isn't ready in time, the API returns 202; repeat the request a few seconds later to get the result.

What if the price can't be found?

You get a 422 with a reason code and don't pay for it. If the store matters to you, send us the link.

Is there a free trial?

Yes. Every new account gets 1,000 free responses once, for 30 days, with no card required.

Which pages can I request?

Product pages that anyone can open without signing in. Pages behind a login and personal data are not supported.

Try it on your own links

Sign-up takes a minute. You get an API key and 1,000 free responses right away.