- name
- scrapebadger
- description
- Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
- version
- 1.0.0
- requires
- env
- tags
ScrapeBadger — Web Scraping Platform
ScrapeBadger provides REST APIs for three products. Use the web_fetch tool to call these endpoints.
Authentication
Every request needs the SCRAPEBADGER_API_KEY environment variable. Include it as an HTTP header: X-API-Key: $SCRAPEBADGER_API_KEY
Base URL
https://scrapebadger.comTwitter/X API
Users
Get user profile by username:
GET /v1/twitter/users/{username}/by_usernameGet user profile by numeric ID:
GET /v1/twitter/users/{user_id}/by_idBatch get users by usernames (comma-separated):
GET /v1/twitter/users/batch_by_usernames?usernames=elonmusk,OpenAIBatch get users by IDs (comma-separated):
GET /v1/twitter/users/batch_by_ids?user_ids=44196397,1230113324Search users:
GET /v1/twitter/users/search_users?query=AI+agentsGet followers:
GET /v1/twitter/users/{username}/followersGet following:
GET /v1/twitter/users/{username}/followingsGet mentions:
GET /v1/twitter/users/{username}/mentionsGet subscriptions:
GET /v1/twitter/users/{user_id}/subscriptionsGet user articles:
GET /v1/twitter/users/{user_id}/articlesTweets
Get tweet by ID:
GET /v1/twitter/tweets/tweet/{tweet_id}Get multiple tweets by IDs:
GET /v1/twitter/tweets/?tweets=123,456,789Advanced search:
GET /v1/twitter/tweets/advanced_search?query=web+scraping&query_type=Latest&count=20Get replies:
GET /v1/twitter/tweets/tweet/{tweet_id}/repliesGet quotes:
GET /v1/twitter/tweets/tweet/{tweet_id}/quotesGet retweeters:
GET /v1/twitter/tweets/tweet/{tweet_id}/retweetersGet favoriters (likes):
GET /v1/twitter/tweets/tweet/{tweet_id}/favoritersGet similar tweets:
GET /v1/twitter/tweets/tweet/{tweet_id}/similarGet edit history:
GET /v1/twitter/tweets/tweet/{tweet_id}/edit_historyGet community notes:
GET /v1/twitter/tweets/tweet/{tweet_id}/community_notesGet article:
GET /v1/twitter/tweets/article/{article_id}Communities
Get community:
GET /v1/twitter/communities/{community_id}Get community tweets:
GET /v1/twitter/communities/{community_id}/tweetsSearch communities:
GET /v1/twitter/communities/search?query=AILists
Get list details:
GET /v1/twitter/lists/{list_id}/detailGet list tweets:
GET /v1/twitter/lists/{list_id}/tweetsSearch tweets in list:
GET /v1/twitter/lists/{list_id}/search_tweets?query=keywordTrends
Get trending topics:
GET /v1/twitter/trends/Get trends by location (WOEID):
GET /v1/twitter/trends/place/{woeid}Geo
Search places:
GET /v1/twitter/geo/search?query=New+YorkGet place details:
GET /v1/twitter/geo/places/{place_id}Spaces
Get Space details:
GET /v1/twitter/spaces/{space_id}Get broadcast details:
GET /v1/twitter/spaces/broadcast/{broadcast_id}Vinted Marketplace API
Search items:
GET /v1/vinted/search?query=nike+shoes&market=fr&page=1&per_page=20Optional params: price_from, price_to, brand_ids, order
Get item details:
GET /v1/vinted/items/{item_id}?market=frGet user profile:
GET /v1/vinted/users/{user_id}?market=frGet user's items:
GET /v1/vinted/users/{user_id}/items?market=frSearch brands:
GET /v1/vinted/brands?keyword=nike&market=frList colors:
GET /v1/vinted/colors?market=frList statuses:
GET /v1/vinted/statuses?market=frList markets:
GET /v1/vinted/marketsSupported markets: fr, de, uk, us, es, it, nl, be, at, pl, pt, cz, lt, and more.
Web Scraping API
Scrape a URL:
POST /v1/web/scrape
Content-Type: application/json
{"url": "https://example.com", "render_js": false, "return_format": "markdown"}Optional fields: render_js (boolean), wait_for (CSS selector), timeout_ms, proxy_country, return_format (html/markdown/text)
Detect anti-bot protection (1 credit):
POST /v1/web/detect
Content-Type: application/json
{"url": "https://example.com"}Take screenshot:
POST /v1/web/screenshot
Content-Type: application/json
{"url": "https://example.com", "full_page": true}Extract structured data:
POST /v1/web/extract
Content-Type: application/json
{"url": "https://example.com", "ai_query": "What is the main product price?"}Optional fields: extract_rules (CSS/XPath), ai_extract_rules, ai_query
Submit batch job:
POST /v1/web/batch
Content-Type: application/json
{"urls": ["https://example.com", "https://example.org"]}Check batch status:
GET /v1/web/batch/{job_id}Pagination
Most list endpoints support cursor-based pagination. Pass the cursor query parameter from the previous response to get the next page.
Credits
Each API call costs credits. Check your balance:
- Twitter endpoints: 1 credit per call
- Web scraping: 1-10 credits depending on complexity
- Vinted: 1 credit per call
Rate Limits
Rate limits are per API key. Check the X-RateLimit-* response headers for current limits.
More Information
- Documentation: https://docs.scrapebadger.com
- Dashboard: https://scrapebadger.com/dashboard
- MCP Server: https://mcp.scrapebadger.com/mcp