POST /scrape no longer takes cookies
Sending cookies to POST /scrape returns 422 validation_error. To scrape with your own cookies, start a browser with them and scrape through it with POST /profiles/{internal_uuid}/scrape. The cookies format still returns the jar. See Scraping API.POST /scrape reuses browsers
Requests with the same proxy settings sent close together run in the same browser and share its exit IP and cookies. Send new_browser: true for a fresh browser. With every slot busy, a request waits up to about 90 seconds before 429 parallel_browsers_limit_reached, so set your HTTP timeout to 120 seconds or more. See Which browser serves a request.New POST /scrape fields
proxy sets the proxy kind and location, retry: false turns off retries, and new_browser is above. The response has data.proxy. A country with no proxy of the requested kind returns the new 400 proxy_country_unavailable. See Request parameters.A browser start takes datacenter, residential and mobile
A browser’s proxy takes type: datacenter, residential or mobile. tier still works until a later release: replace "shared" with type: "datacenter" and "premium" with type: "residential" or "mobile". A tier that contradicts type returns 422 validation_error. type: "residential" or "mobile" without those proxies on the account now returns 403 premium_pool_unavailable instead of running on datacenter. See Choosing the proxy.Browser time is billed in 30-second steps
Sessions round up to 30 seconds instead of a whole minute.POST /scrape is billed as the session of the browser that serves it, instead of per request in 10-second steps: three 10-second requests sent together are one 30-second session. A scrape’s receipt now has billed_seconds and browser_cost at 0; read browser time from the session receipt named by receipt.session_uuid. See Billing.Session receipts include traffic and CAPTCHA solves
Session receipts addtraffic_bytes, traffic_cost and captcha_cost, and total_cost now includes them. If you read total_cost as browser time, read browser_cost instead.Scrapes in your own browser return a receipt
POST /profiles/{internal_uuid}/scrape returns data.receipt.