ScrapingBot

v1.0.0
io.scrapingbot/scrapingbot Checked 4 days ago Published 2 months ago

Public web data for AI agents: scrape any page, plus Google, TikTok, Instagram and Amazon as JSON.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

listCapabilities List capabilities

List every ScrapingBot tool, the API routes behind them and their parameters. Free.

scrapeWebsite Scrape a web page

Fetch any public web page and return its content as markdown (format: "html" for the raw HTML). 1 credit; render_js (pages built with JavaScript) 5; premium_proxy 10; stealth_proxy 75. screenshot: true attaches a screenshot image.

ParameterTypeDescription
url *string
block_adsboolean
block_resourcesboolean
capture_runtime_issuesboolean
cookiesstring
formatstringPage content as markdown (default, compact and readable) or the raw HTML
premium_proxyboolean
render_jsboolean
screenshot
stealth_proxyboolean
timeoutinteger
waitinteger
wait_browserstring
wait_forstring

extractStructuredData Extract data from a page

Fetch a web page and have AI pull out exactly the fields you want, as JSON. Pass ai_query (plain English, e.g. "title, price and stock") or ai_schema ({"field": "description"}). The page cost plus 5 credits.

ParameterTypeDescription
url *string
ai_querystring
ai_schema
block_adsboolean
block_resourcesboolean
capture_runtime_issuesboolean
cookiesstring
premium_proxyboolean
render_jsboolean
screenshot
stealth_proxyboolean
timeoutinteger
waitinteger
wait_browserstring
wait_forstring

getScrapeJob Get a scrape job

Look up an earlier scrape by the job_id it returned. Free.

ParameterTypeDescription
job_id *string

pollJobUntilDone Wait for a scrape job

Wait for a scrape job to finish, then return it. Free.

ParameterTypeDescription
job_id *string
poll_interval_msinteger
timeout_msinteger

runBrowserScenario Run browser steps on a page

Open a page in a real browser, run steps such as click, fill, scroll and wait, then return the resulting page as markdown. js_scenario: {"instructions": [{"fill": ["#q", "shoes"]}, {"click": "#go"}, {"wait": 1000}]}. From 5 credits.

ParameterTypeDescription
js_scenario *
url *string
block_adsboolean
block_resourcesboolean
capture_runtime_issuesboolean
cookiesstring
formatstringPage content as markdown (default, compact and readable) or the raw HTML
premium_proxyboolean
render_jsboolean
screenshot
stealth_proxyboolean
timeoutinteger
waitinteger
wait_browserstring
wait_forstring

googleSearch Google search

Google results as JSON: web (default), images, videos, news, shopping, places or maps (type), for any country (gl) and language (hl). Places and maps results include a cid for googleReviews. 10 credits.

ParameterTypeDescription
q *string
autocorrectboolean
glstring
hlstring
llstringMaps/places viewport, e.g. @30.27,-97.74,12z
num
page
sortBystring
tbsstring
typestringWhat to search: web results (default), images, videos, news, shopping, places or maps.

googleReviews Google Maps reviews

Reviews of a place from Google Maps, by the cid, fid or placeId in a googleSearch places or maps result. sortBy newest, mostRelevant, highestRating or lowestRating; pass nextPageToken for more. 10 credits.

ParameterTypeDescription
cidstring
fidstring
glstring
hlstring
nextPageTokenstring
placeIdstring
sortBystring

instagramUser Instagram profile

An Instagram profile: bio, follower, following and post counts, links and the numeric user id other tools need. Pass one of username, user_id or url. 5 credits.

ParameterTypeDescription
urlstring
user_id
usernamestring

instagramSearch Search Instagram

Search Instagram accounts, hashtags, places or posts (search_type), or everything at once (global). 5 credits.

ParameterTypeDescription
keyword *string
search_type *string

instagramMedia Instagram posts, stories and comments

Instagram content by mode: an account's posts, reels or tagged posts (user_id), one post by shortcode or url, a post's comments, the replies to a comment (comment_id), or an account's active stories (username). 5 credits.

ParameterTypeDescription
mode *string
code_or_id_or_urlstring
comment_idstringParent comment id (comment_replies)
countinteger
end_cursorstring
media_id
pagination_tokenstring
shortcodestring
urlstring
user_id
usernamestringUsername (stories)

instagramFollowers Instagram followers

List or search an Instagram account's followers or following, by numeric user_id from instagramUser. query searches the whole list; max_id pages. For very large accounts Instagram shows only about 50 recent followers, so use query to find someone. 5 credits.

ParameterTypeDescription
direction *string
user_id *stringNumeric user id (from instagramUser)
max_idstringnext_max_id from the previous page
querystringSearch the list by username or name

tiktokVideo TikTok video

A TikTok video's stats, caption, author, sound and download links, by video URL. 1 credit.

ParameterTypeDescription
url *string

tiktokUser TikTok profile

A TikTok profile by username: bio, counts, verified badge and numeric user id; include_posts returns the latest videos instead. 1 credit.

ParameterTypeDescription
unique_id *string
include_postsboolean

tiktokSearch Search TikTok

Search TikTok creators (search_type: users) or videos (videos) by keyword. Videos page: for page 2 onward pass the previous response's data.cursor as cursor and its data.searchId as search_id. Users search returns a single page and ignores cursor. 1 credit.

ParameterTypeDescription
query *string
search_type *string
countinteger
cursorVideos only: the previous response's data.cursor, for the next page
search_idstringVideos only: the previous response's data.searchId; required with cursor for page 2 onward

tiktokComments TikTok comments

Comments on a TikTok video (url), or the replies to one comment (comment_id plus the video url or video_id). 1 credit.

ParameterTypeDescription
comment_idstringSet to fetch the replies to this comment
countinteger
cursorinteger
urlstringVideo URL (required for comments)
video_idstringVideo id (replies only; or pass url)

tiktokFollowers TikTok followers

A TikTok account's followers or the accounts it follows, by numeric user_id (data.user.id from tiktokUser). Up to 50. 1 credit.

ParameterTypeDescription
direction *string
user_id *stringNumeric user id (data.user.id from tiktokUser)
countinteger

amazonSearch Search Amazon

Search Amazon US products by keyword: title, price, rating, Prime and photo for each. page for more. 10 credits.

ParameterTypeDescription
query *string
departmentstring
page

amazonProduct Amazon product

Everything on an Amazon product page by ASIN: price, rating, availability, bullet points, specifications, photos and variations. 10 credits.

ParameterTypeDescription
asin *string

amazonProducts Amazon products (batch)

Full details for up to 20 ASINs in one call, the same as amazonProduct for each. 10 credits per product returned; ASINs that fail are free.

ParameterTypeDescription
asins *arrayUp to 20 ASINs; 10 credits per product returned

amazonSuggestions Amazon search suggestions

The suggestions Amazon shows as a shopper types: useful for keyword research. 10 credits.

ParameterTypeDescription
query *stringWhat a shopper has typed so far
departmentstringSearch alias such as aps, electronics, stripbooks
limitinteger

amazonRankings Amazon best sellers

Amazon's Best Sellers or New Releases for a department, in rank order, with price and rating. 10 credits.

ParameterTypeDescription
category *stringAmazon department slug
list *string
pageinteger

providerRequest Call an API endpoint directly

Call any Google, Instagram, TikTok or Amazon endpoint by path, for the few the other tools do not cover (listCapabilities lists them). Costs the same as that API.

ParameterTypeDescription
endpoint *string
provider *string
paramsobject