Browsable Browsable Docs

OfferUp Search API

Search OfferUp listings near a US city and state or ZIP code. Location is resolved automatically. Returns prices, locations, images and pickup information with cursor pagination. Seller ratings and cancellations are not included in OfferUp's search feed.

POST /v1/offerup/search

Request Parameters

Name In Type Required Description
location body string Yes US city and state, such as Los Angeles, CA, or a 5-digit ZIP code. Coordinates are resolved automatically.
query body string Yes Search words, such as iPhone 13 or Nintendo Switch.
category_id body string No OfferUp category id, such as 1.2 for cell phones and accessories.
condition body string No —
cursor body string No next_cursor from the previous response. Keep the other search inputs unchanged.
limit body integer No —
max_price body number No —
min_price body number No —
radius_miles body integer No —
sort body string No —

Response Structure

Async kickoff response

Polled run result response

Sync response

Declared output schema

Code Examples

Async + polling

RUN=$(curl -s -X POST "https://api.browsable.app/v1/offerup/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"London","location":"Los Angeles, CA"}')
RUN_ID=$(echo "$RUN" | jq -r '.run_id')
POLL_DELAY=3
while true; do
RESULT=$(curl -s -H "Authorization: Bearer YOUR_API_KEY" "https://api.browsable.app/v1/runs/$RUN_ID")
STATUS=$(echo "$RESULT" | jq -r '.run_status')
if [[ "$STATUS" =~ ^(succeeded|failed|errored|cancelled|canceled|expired)$ ]]; then
echo "$RESULT"
break
fi
sleep "$(awk "BEGIN { print $POLL_DELAY * (0.9 + ($RANDOM % 21) / 100) }")"
POLL_DELAY=$((POLL_DELAY < 30 ? POLL_DELAY * 2 : 30))
[ "$POLL_DELAY" -gt 30 ] && POLL_DELAY=30
done

Sync

curl -X POST "https://api.browsable.app/v1/offerup/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"London","location":"Los Angeles, CA","_run":{"async":false}}'