Skip to content

Wallapop: search and filters take subcategoryIds (0.83.0) - #101

Merged
0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/wallapop-subcategories
Nov 26, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/wallapop-subcategories

Conversation

@0xGhostCasper

@0xGhostCasper 0xGhostCasper commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

A customer asked to search Wallapop by subcategory. The API now takes subcategory_ids on search and filters (scrape-badger/scrapebadger PR: scrape-badger/scrapebadger#3567).

  • wallapop.search(query, { subcategoryIds: [9447, 10310] }) (or "9447,10310"): the nested ids of listCategories(), at any depth. Works with or without categoryId, and on its own is enough to search.
  • listFilters() and listFilterOptions() take the same option (e.g. phone brands only for [9447]).
  • New optional fields on the existing options objects. The node-v1-surface.json signatures are unchanged. Version 0.83.0 + CHANGELOG.

git log v0.82.1..origin/main is empty, so a release from this PR ships only this change.

Tests: typecheck and lint pass; vitest run passes (519 tests). prettier --check lists only 10 files this PR doesn't touch; they fail on main too.

Related: monorepo scrape-badger/scrapebadger#3567 · Python scrape-badger/scrapebadger-python#109 · docs scrape-badger/docs#204

🤖 Generated with Claude Code

wallapop.search(), listFilters() and listFilterOptions() take
subcategoryIds: the nested ids of listCategories(), as an array or a
comma-separated string, sent to the API as subcategory_ids. Optional fields
on the existing options objects, so existing calls are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants