|
Hello from HasData!
This month we launched six new APIs, including three for Tripadvisor, Google Finance, a Gemini Scraper and Instagram Reels. The Web Scraping API takes autoMode, and Google SERP takes GPS coordinates.
New: Tripadvisor APIs
All three work on 49 Tripadvisor domains through domain:
- Tripadvisor Search takes
q and returns places[] with placeId, placeType, rating, location and a ready hasdataLink for the Place call. A type filter narrows it to hotels, restaurants, things to do, destinations or forums.
- Tripadvisor Place takes a
placeId and returns placeResult with rating, ranking, address, phone, website, amenities, images and prices by provider.
- Tripadvisor Reviews takes a
placeId and returns up to 20 reviews[] per request, with rating[], month[], typeOfVisit[] and language as filters.
New: Google Finance API
Google Finance takes q such as GOOGL:NASDAQ, EUR-USD or BTC-USD and returns summary with price, currency and priceMovement, plus a graph[] of prices over the window you pick, from 1D to MAX.
The response also carries knowledgeGraph key stats, newsResults[], financials[] and a markets overview.
New: Gemini Scraper API
Gemini Scraper takes a prompt of up to 8,000 characters and returns conversation with the answer as markdown, sources[], images[] and usedWebSearch. No Google account is needed.
Pass the returned subsequentRequestToken back to continue the same conversation, and set hl for the interface language.
New: Instagram Reels API
Instagram Reels takes a handle and returns reels[] in Reels-tab order with playsCount, likesCount, commentsCount, videoUrl and publishDate, 12 per page via nextPageToken.
Instagram Profile and Instagram Comments now carry a ready hasdataReelsLink.
Web Scraping API
Set autoMode=true and the Web Scraping API picks the cheapest setup that loads the page. It starts with HTTP on a datacenter proxy and steps up to a residential proxy and JS rendering only when the site blocks the request.
The setup that answered comes back in requestMetadata.jsRendering and requestMetadata.proxyType, and that is the setup you pay for. A request blocked on every step costs nothing.
Proxies
Residential and datacenter proxy traffic is on sale in the dashboard, on the new Proxies page. Pick a package in GB, create a named connection and rotate its password when you need to.
The page shows usage for the last 7 or 30 days. Turn on a low-balance alert, or auto top-up from your saved card, and you get an email when traffic runs low, runs out or a package expires.
Google SERP API
- Google SERP takes
lat, lon and radius (meters) to target a search by GPS position.
- Stock and index queries return an
answerBox of type: "finance" with price, movement, market status and a hasdataLink to Google Finance, and the knowledge graph adds relatedMarkets.
- Local results carry the full street address in
address, for example 1907 E 2nd St, Austin, TX 78702.
- The knowledge graph returns
workingHours with holiday notes (holiday, note, specialHours) per day, and on mobile the review count and reviewTopics.
- AI Overview and AI Mode return news carousels as a
news block, and AI Mode place cards carry website and phone.
Google Maps APIs
- Google Maps Place takes
fetchWebResults=true and adds webResults, the place panel's web links (site, Instagram, Facebook, delivery services).
- Place results carry
menu.hasdataLink for the Place Menu API and hasdataPhotosLink for the Photos API, and thumbnail is the place's main photo.
- Working hours carry
holiday, note and specialHours per day in workingHours.days[].
- Google Maps Posts returns one page of posts and takes no
nextPageToken.
Indeed and Glassdoor Listing APIs
- Indeed Listing takes
datePosted (1, 3, 7 or 14 days), remoteType (remote or hybrid) and sponsoredOnly, and every job carries a jobKey. Pass pagination.nextPage back as nextPage to keep the ranking across pages.
- Glassdoor Listing takes
easyApplyOnly, remoteOnly, minRating, datePosted, radius, minSalary and maxSalary. The filters travel inside nextPageToken, so later pages stay filtered.
Amazon APIs
- Amazon Product returns
importantInformation with safetyInformation, ingredients, directions and legalDisclaimer on grocery, beauty and supplement listings.
- Product
variants[] list only the combinations Amazon sells, each with available and dimensions split by axis (Size, Color). The dimensions field is now an object, not a string.
- Amazon Search returns
searchInformation with the query and a noResults flag.
Other Updates
- Instagram Posts returns 12 posts per page and no
playsCount, which lives in the Reels API. Page tokens issued before October 23 are rejected.
- Booking Search pages with
nextPageToken from pagination.nextPageToken, and the discount fields are price.discountRaw and price.discountParsed.
- Zillow Listing filters owner and agent listings through
listingPublishOptions[] (ownerPosted, agentListed). A request with listingType returns an error that names the replacement.
- The first page of TikTok Comments includes the video as
post, with its caption, author, music and engagement counts.
- New API keys start with
hd_ and are shown once, when you create them. The dashboard shows a masked key, who created it and when it was last used, and a workspace can have any number of keys, including none.
- Workspace owners can transfer ownership and rename the workspace in the Team settings.
Thank you for choosing HasData.
Join our Discord to connect with other users and stay updated on new features and news.
Invite a friend to HasData, and you'll both get 1,000 credits to use immediately. Share the benefits and get more done together!
|