Algolia API Scraper avatar

Algolia API Scraper

Pricing

from $0.50 / 1,000 scraped items

Go to Apify Store
Algolia API Scraper

Algolia API Scraper

Generalised scraper for any Algolia-powered search index: scrape hits or discover facets and their values directly via the Algolia Search REST API.

Pricing

from $0.50 / 1,000 scraped items

Rating

0.0

(0)

Developer

R.L.

R.L.

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

A generalised Algolia API scraper for extracting search results and discovering facets from any website that uses Algolia as its search backend — e-commerce catalogs, documentation sites, marketplaces, directories, and more. Instead of scraping rendered HTML, this Actor talks directly to the site's Algolia index over the Algolia Search REST API, so extraction is fast, reliable, and returns the exact structured data the site itself uses. Run it on the Apify platform for scheduling, API access, and monitoring without managing any infrastructure.

Why use Algolia API Scraper?

Thousands of sites (documentation portals, online stores, job boards, real estate listings) use Algolia under the hood for instant search. Once you have the site's Algolia applicationId, a search-only apiKey, and the indexName (all visible in the site's browser network requests), you can:

  • Pull the full catalog of a site without crawling pages one by one.
  • Apply the exact same filters, facets, and query syntax the site's own search UI uses.
  • Discover which attributes are filterable/facetable on an index — and what values exist for each — before building a larger scraping or monitoring pipeline.
  • Feed structured, ready-to-use JSON straight into spreadsheets, databases, or downstream automations via Apify's integrations.

How to use Algolia API Scraper

  1. Open the site you want to extract data from and inspect its network requests (DevTools → Network → filter for algolia.net or algolianet.com) while performing a search.
  2. Note down the Application ID (from the request host, e.g. ABC123DEF-dsn.algolia.net), the API Key (header X-Algolia-API-Key), and the index name (in the request URL or body).
  3. Paste those three values into the Actor's input, optionally along with a search query, filters, and facets.
  4. Click Start and let the Actor page through the index and push every hit to the dataset — or enable Discover facets only to get a fast overview of the index's facetable attributes first.

Input

Configure the Actor via the Input tab. Key fields:

FieldDescription
algoliaAppIdAlgolia Application ID
algoliaApiKeySearch-only Algolia API key
indexNameName of the index to query
searchQueryFree-text query (empty = match all)
filtersAlgolia filter expression, e.g. category:Shoes AND price < 50
facetFilters / numericFiltersStructured filter arrays
facetsFacet attributes to get counts for; ["*"] discovers all of them
discoverFacetsOnlySkip item scraping, only return facet values/counts
hitsPerPage / maxItemsPagination size and overall item cap
extraQueryParamsAny other raw Algolia SearchParams field, for advanced use

Example input for facet discovery:

{
"algoliaAppId": "ABC123DEF",
"algoliaApiKey": "aaaabbbbccccdddd11112222",
"indexName": "products",
"facets": ["*"],
"discoverFacetsOnly": true
}

Output

Each scraped record is pushed to the dataset exactly as Algolia returns it (plus its objectID). Example item:

{
"objectID": "12345",
"title": "Running Shoes",
"category": "Shoes",
"price": 79.99
}

When discoverFacetsOnly is enabled, the dataset instead contains a single item with the discovered facets:

{
"facets": {
"category": { "Shoes": 512, "Shirts": 340 },
"brand": { "Nike": 210, "Adidas": 180 }
},
"facets_stats": {},
"nbHits": 852
}

The same facet data is also saved to the key-value store under the FACETS key for quick reference. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

Data table

FieldDescription
objectIDAlgolia's unique identifier for the record
(all other fields)Whatever attributes the source index stores — varies per site

Cost estimation

This Actor makes lightweight JSON API calls (no browser rendering), so it is inexpensive to run. A full scrape of an index with tens of thousands of records typically finishes in well under a minute of compute time. Facet discovery runs a single request and is essentially free. Apify's free tier is generally enough for occasional runs; larger or scheduled scrapes will consume more compute units proportional to the number of pages fetched.

Tips and advanced options

  • Set hitsPerPage to the maximum (1000) to minimize the number of requests.
  • Use maxItems to cap a run when you only need a sample.
  • Use discoverFacetsOnly first on a new index to understand what filters are available, then build a targeted filters/facetFilters query for the real scrape.
  • Pass any additional Algolia parameter (e.g. distinct, restrictSearchableAttributes, optionalFilters) via extraQueryParams.

FAQ, disclaimers, and support

This Actor only queries indexes using credentials you supply — it does not bypass authentication or access private data. Only use it against indexes and API keys you are authorized to query, and respect the target site's Terms of Service. Algolia may change or rotate search-only keys; if the Actor stops working, re-check the site's current applicationId/apiKey/indexName. For issues or feature requests, use the Actor's Issues tab.