Docs · all pages
Search eBay listings
Active eBay listings for a keyword, with price, bids, condition, shipping, seller and how many sold, filtered and sorted like ebay.com.
2 credits per callFresh within 15 minutes
Example
Its JSONA real response, captured from the live API.
When to use this
Use it for price research and sourcing: what's listed, at what price, in what condition, and which listings sell. Filters work like eBay's own: condition, buying_format, min_price and max_price, free_shipping and category_id.
The price filters use the item price, without shipping. category_id is the number in an eBay category URL, or the category_id from listing details (ebay_item).
Results match what ebay.com shows. Sponsored listings eBay places among the results are included; carousels and ads between them aren't. sold is how many units a listing has sold. It isn't a list of sold items, which eBay shows only to signed-in accounts.
Pagination. 60 listings per page. Pass next_page as page for more. It's null on the last page.
Example request
Copy one and replace YOUR_API_KEY with your API key (get one free). The code versions read the key from the LURKAPI_API_KEY environment variable instead.
curl "https://api.lurkapi.com/v1/ebay/search?query=nintendo+switch+oled" \
-H "x-api-key: YOUR_API_KEY"Paste it into a terminal, with your key in place of YOUR_API_KEY.
const params = new URLSearchParams({
query: "nintendo switch oled",
});
const res = await fetch(`https://api.lurkapi.com/v1/ebay/search?${params}`, {
headers: { "x-api-key": process.env.LURKAPI_API_KEY },
});
const data = await res.json();
if (!data.success) throw new Error(`${data.code}: ${data.error}`);
console.log(data.items);Node 18+. Save it as lurk.mjs and run node lurk.mjs. It reads your key from LURKAPI_API_KEY.
import os
import requests
res = requests.get(
"https://api.lurkapi.com/v1/ebay/search",
params={
"query": "nintendo switch oled",
},
headers={"x-api-key": os.environ["LURKAPI_API_KEY"]},
timeout=60,
)
data = res.json()
if not data["success"]:
raise RuntimeError(f"{data['code']}: {data['error']}")
print(data["items"])Run pip install requests, save it as lurk.py and run python lurk.py. It reads your key from LURKAPI_API_KEY.
package main
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"os"
"time"
)
func main() {
params := url.Values{}
params.Set("query", "nintendo switch oled")
req, _ := http.NewRequest("GET", "https://api.lurkapi.com/v1/ebay/search?"+params.Encode(), nil)
req.Header.Set("x-api-key", os.Getenv("LURKAPI_API_KEY"))
client := &http.Client{Timeout: 60 * time.Second}
res, err := client.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
var data map[string]any
if err := json.NewDecoder(res.Body).Decode(&data); err != nil {
panic(err)
}
if data["success"] != true {
panic(fmt.Sprintf("%v: %v", data["code"], data["error"]))
}
out, _ := json.MarshalIndent(data["items"], "", " ")
fmt.Println(string(out))
}Save it as main.go and run go run main.go. It reads your key from LURKAPI_API_KEY.
<?php
$params = http_build_query([
'query' => 'nintendo switch oled',
]);
$context = stream_context_create(['http' => [
'header' => 'x-api-key: ' . getenv('LURKAPI_API_KEY'),
'timeout' => 60,
'ignore_errors' => true,
]]);
$body = file_get_contents('https://api.lurkapi.com/v1/ebay/search?' . $params, false, $context);
$data = json_decode($body, true);
if (!$data['success']) {
throw new Exception("{$data['code']}: {$data['error']}");
}
print_r($data['items']);Save it as lurk.php and run php lurk.php. It reads your key from LURKAPI_API_KEY.
require 'json'
require 'net/http'
uri = URI('https://api.lurkapi.com/v1/ebay/search')
uri.query = URI.encode_www_form(
'query' => 'nintendo switch oled',
)
req = Net::HTTP::Get.new(uri)
req['x-api-key'] = ENV.fetch('LURKAPI_API_KEY')
res = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', read_timeout: 60) do |http|
http.request(req)
end
data = JSON.parse(res.body)
raise "#{data['code']}: #{data['error']}" unless data['success']
puts JSON.pretty_generate(data['items'])Save it as lurk.rb and run ruby lurk.rb. It reads your key from LURKAPI_API_KEY.
Parameters
Add them to the URL after a ?, as in ?query=nintendo+switch+oled. Join several with &.
| Parameter | Description |
|---|---|
querystringrequired | Keywords, as typed into eBay's search box, e.g. iphone 15 pro.
|
conditionstringoptional | new, open_box, refurbished (any refurbished grade), used, for_parts, or any (default).
|
buying_formatstringoptional | buy_it_now, auction, best_offer (accepts offers), or any (default).
|
sortstringoptional | best_match (eBay's default), ending_soonest, newly_listed, price_low or price_high (price plus shipping).
|
min_pricenumberoptional | Lowest item price in US dollars, e.g. 100. |
max_pricenumberoptional | Highest item price in US dollars, e.g. 500. |
free_shippingbooleanoptional | true keeps listings with free shipping only.
|
category_idstringoptional | An eBay category number, e.g. 9355 (Cell Phones & Smartphones). |
pageintegeroptional | Page of results, 1–100; 60 listings each. Use next_page from the previous answer.
|
Example response
A real response, captured from the live API. Lists are trimmed to a couple of items, and long text such as media links is cut short with ….
Show the example response (2 KB)Hide
{
"success": true,
"credits_remaining": 999998,
"credits_charged": 2,
"total_results": 6600,
"items": [
{
"id": "226794283368",
"url": "https://www.ebay.com/itm/226794283368",
"title": "Nintendo Switch OLED Model HEG-001 Handheld Console w/ Accessories - Excellent",
"subtitle": "Nintendo Switch · Nintendo Switch (OLED Model)",
"condition": "Pre-Owned",
"image": "https://i.ebayimg.com/images/g/XXUAAeSwrqNpvBXC/s-l500.webp",
"price": 244.99,
"price_max": 249.99,
"price_text": "$244.99 to $249.99",
"original_price": 284.99,
"format": "fixed_price",
"bids": null,
"time_left": null,
"best_offer": false,
"shipping_cost": 12.99,
"shipping_text": "+$12.99 delivery",
"location": "United States",
"free_returns": false,
"sold": 6,
"watchers": null,
"seller": {
"username": "cocosprinkles",
"feedback_percent": 99.8,
"feedback_count": 42000
},
"badges": [
"From $225.39 with coupon"
]
},
{
"id": "336852421836",
"url": "https://www.ebay.com/itm/336852421836",
"title": "Nintendo Switch OLED Model Console with case, 128 GB SD card and deck.",
"subtitle": "Nintendo Switch · Nintendo Switch (OLED Model)",
"condition": "Pre-Owned",
"image": "https://i.ebayimg.com/images/g/gSgAAeSw~oxq1i4A/s-l500.webp",
"price": 175,
"price_max": null,
"price_text": "$175.00",
"original_price": null,
"format": "fixed_price",
"bids": null,
"time_left": null,
"best_offer": true,
"shipping_cost": 12.97,
"shipping_text": "+$12.97 delivery",
"location": "United States",
"free_returns": false,
"sold": null,
"watchers": null,
"seller": {
"username": "hat-1634",
"feedback_percent": null,
"feedback_count": 0
},
"badges": [
"New Listing"
]
}
],
"page": 1,
"next_page": 2
}Response fields
Every field in a successful response, and what it means. A name with [] belongs to each item of a list: items[].id is the id of every item in items. null means there's no value.
Show all 32 fieldsHide
| Field | Type | Description |
|---|---|---|
| success | true | Always true here; errors have success: false. |
| credits_remaining | number | Your balance after this call. On anonymous playground calls: free tries left today. |
| credits_charged | number | Credits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1). |
| total_results | numbercan be null | Matching listings as eBay counts them, from "40,000+ results" (a rounded lower bound for big searches). |
| items | object[] | One page of listings, in sort order. |
| items[].id | string | Item id, e.g. 285090601008. Pass it to eBay listing details (ebay_item) for specifics, seller and shipping. |
| items[].url | string | The listing on ebay.com. |
| items[].title | string | Listing title. |
| items[].subtitle | stringcan be null | The lines under the title other than the condition: the seller's subtitle and key specifics, joined with · . |
| items[].condition | stringcan be null | Condition as the card shows it, e.g. "Brand New", "Pre-Owned", "Good - Refurbished". |
| items[].image | stringcan be null | Thumbnail URL (i.ebayimg.com). |
| items[].price | numbercan be null | Price (the low end of a range, for listings with variations), in US dollars; null when the card doesn't show it. |
| items[].price_max | numbercan be null | The high end of a price range; null for a single price, in US dollars; null when the card doesn't show it. |
| items[].price_text | stringcan be null | The price as shown, e.g. "$189.99" or "$20.00 to $35.00". |
| items[].original_price | numbercan be null | The struck-through earlier price on discounted listings, in US dollars; null when the card doesn't show it. |
| items[].format | string | auction when the card shows bids, else fixed_price. |
| items[].bids | numbercan be null | Bids so far, on auctions; null otherwise. |
| items[].time_left | stringcan be null | Time left on auctions as shown, e.g. "6d 23h" or "46m"; null otherwise. |
| items[].best_offer | boolean | The seller accepts offers. |
| items[].shipping_cost | numbercan be null | Shipping to the US: 0 when free, in US dollars; null when the card doesn't show it. |
| items[].shipping_text | stringcan be null | Shipping as shown, e.g. "Free delivery in 2-4 days" or "+$8.99 delivery". |
| items[].location | stringcan be null | Where the item ships from, e.g. "United States" or "China". |
| items[].free_returns | boolean | The card says free returns. |
| items[].sold | numbercan be null | How many the listing has sold, from "1,234 sold" (a lower bound for "99+ sold"); null when not shown. |
| items[].watchers | numbercan be null | Watchers, from "16+ watchers" (a lower bound); null when not shown. |
| items[].seller | objectcan be null | The seller, when the card shows one (eBay leaves it off some layouts). |
| items[].seller.username | string | The seller's eBay username. |
| items[].seller.feedback_percent | numbercan be null | Positive feedback, percent, e.g. 99.8; null for a seller without ratings. |
| items[].seller.feedback_count | numbercan be null | Feedback score as the card shows it; eBay rounds large ones (42K → 42000). |
| items[].badges | string[] | Other labels on the card, e.g. "New Listing", "Last one", "eBay Refurbished", "Authenticity Guarantee", coupons. |
| page | number | This page's number. |
| next_page | numbercan be null | Pass as page for the next 60 listings; null on the last page. |
Cost and freshness
Each call costs 2 credits. Calls turned away before they reach the platform (invalid parameters, a key or balance problem, a rate limit) are free, and so are 5xx errors. A not_found is charged, since the platform was checked. How charging works.
Answers are cached for up to 15 minutes. A repeat call within that time can return the same data, and costs the same.
Errors
A failed call returns success: false, an error message, a code your program can check, and a docs link. These are the errors this endpoint can return. All error codes.
| Status | Code | Meaning |
|---|---|---|
| 401 | missing_api_key | No API key was sent. Put it in the x-api-key header. |
| 401 | invalid_api_key | This key doesn't exist or was revoked. |
| 402 | insufficient_credits | Not enough credits for this call. Buy a pack, or wait for tomorrow's free top-up. |
| 402 | over_max_credits | This call would cost more than the max_credits you set. The error says what it needs; raise max_credits to allow it. Not charged. |
| 403 | account_suspended | This account is suspended. Email support@lurkapi.com. Not charged. |
| 405 | method_not_allowed | Endpoints only take GET, with parameters in the URL. |
| 429 | rate_limited | Too many calls in a short time. Wait as many seconds as the retry-after header says, then retry. |
| 500 | internal_error | Something broke on our side. Retry. Not charged. |
| 502 | upstream_error | The platform didn't send a usable answer. Retry. Not charged. |
| 503 | upstream_busy | All our connections to the platform are busy. Retry in a few seconds. Not charged. |
| 504 | upstream_timeout | The platform took over 30 seconds to answer (90 for web pages). Retry. Not charged. |
Use it in Claude
Connect LurkAPI to Claude and ask in plain English. This endpoint is the ebay tool with endpoint: "search". For example:
Use LurkAPI's ebay tool (search) with query "nintendo switch oled", then summarize what you find.Claude calls ebay with arguments like these, and each call costs 2 credits:
{"endpoint": "search","query": "nintendo switch oled"}To save tokens, tool results leave out empty fields, keep one URL per image or video, and give transcripts as plain text unless you pass timestamps=true. A result over 45,000 characters comes in parts. Its _note gives the offset for the next part, and later parts are free for 15 minutes. Pass trim=false for the full response.
From the blog
All posts
LinkedIn API pricing in 2026: $0, and what that buys you
LinkedIn charges nothing for its API, but free only reaches the member who signs in to your app. Company data and rivals’ ads come from public pages.
· 5 min read

6 best eBay scrapers in 2026: price per 1,000 listings
LurkAPI reads 1,000 eBay listings for about $0.03, a page of 60 in about 1.6 s, 100 credits free. Sold prices: eBay’s Product research. No code: Apify, $3.00.
· 9 min read

6 best Facebook scrapers in 2026: price per 1,000 posts
LurkAPI reads a Facebook Page's posts for $0.19 per 1,000 and answers in under a second. For a no-code CSV, Apify at $4.00 per 1,000. Six compared.
· 8 min read