Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIYelp

    yelp.reviews

    A page of a business's reviews on Yelp, 20 a page: rating, text, date, photos, reactions and the business's answer.

    Id
    yelp.reviews
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/yelp.reviews/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of yelp.reviews
    FieldTypeDescription
    businessstringThe business's name on Yelp, the last part of its page's address, e.g. home-slice-pizza-austin; or that address itself. Give this or business_id.Limit: at least 1 characters, at most 400 characters.
    business_idstringYelp's id of the business, the business_id of a yelp.business record, e.g. 1Eq16r_MSnvPsnIykBdy9w. With it the run does not read the business's page first.
    pageintegerThe page of the reviews, from 1; 20 reviews a page.Limit: 1 to 50. Default: 1.
    sort"newest" | "oldest" | "highest_rated" | "lowest_rated" | "yelp" | "elites"The order: newest, oldest, highest_rated, lowest_rated, yelp (the order Yelp shows by default) or elites (reviews by Yelp's Elite members first).Default: "newest".
    languagestringThe language of the reviews, as a two-letter code. Yelp lists a business's reviews one language at a time.Limit: matches ^[a-z]{2}$. Default: "en".

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of yelp.reviews
    FieldTypeNotes
    positionintegerThe review's rank in the order asked for, from 1, counted across pages.Limit: at least 1.
    pageintegerThe page of the reviews it was on.Limit: at least 1.
    business_idstringYelp's id of the business reviewed.
    business_aliasstringThe name Yelp files the business under, the last part of its page's address.
    review_idstringYelp's id of the review.
    urlstringThe business's page on Yelp, opened at this review.
    ratingintegerThe stars the reviewer gave, 1 to 5.Limit: 1 to 5.
    textstring or nullThe review's text, in the language it was written in.
    languagestring or nullThe language of the text, as a two-letter code.
    written_atstring (date-time)When the review was written, in the business's local time.
    photosarray of stringThe photos attached to the review.
    helpfulinteger or nullHow many readers marked the review Helpful.
    thanksinteger or nullHow many readers reacted with Thanks.
    love_thisinteger or nullHow many readers reacted with Love this.
    oh_nointeger or nullHow many readers reacted with Oh no.
    check_insinteger or nullHow many times the reviewer checked in at the business, as Yelp shows beside the review.
    earlier_reviewsintegerHow many earlier reviews of the same business by the same reviewer this one updates.Default: 0.
    reviewer_namestring or nullThe reviewer's display name, as the review shows it, e.g. Jordan R..
    responsestring or nullThe business's public answer to the review, when there is one.
    response_written_atstring (date-time) or nullWhen that answer was written.
    fetched_atstring (date-time)When the reviews were read.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/yelp.reviews/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"business":"home-slice-pizza-austin"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("yelp.reviews", {
        "business": "home-slice-pizza-austin",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("yelp.reviews", {
      business: "home-slice-pizza-austin",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "yelp.reviews", map[string]any{"business": "home-slice-pizza-austin"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("yelp.reviews", Map.of("business", "home-slice-pizza-austin"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run yelp.reviews --input business=home-slice-pizza-austin

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "business": "home-slice-pizza-austin"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "yelp.reviews",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "business": "home-slice-pizza-austin"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "position": 1,
          "page": 1,
          "business_id": "1Eq16r_MSnvPsnIykBdy9w",
          "business_alias": "home-slice-pizza-austin",
          "review_id": "vPxmL8eHA2MKjHaLUizPaQ",
          "url": "https://www.yelp.com/biz/home-slice-pizza-austin?hrid=vPxmL8eHA2MKjHaLUizPaQ",
          "rating": 5,
          "text": "Pizza was great! Got the #5 pepperoni + mushroom and added basil and bell pepper, also threw on Mike's hot honey, parm, and chili flakes",
          "language": "en",
          "written_at": "2026-11-14T20:45:36-06:00",
          "photos": [
            "https://s3-media0.fl.yelpcdn.com/bphoto/_2dgdzQbROtup22dke_JGQ/o.jpg"
          ],
          "helpful": 0,
          "thanks": 0,
          "love_this": 0,
          "oh_no": 0,
          "check_ins": 0,
          "earlier_reviews": 0,
          "reviewer_name": null,
          "response": null,
          "response_written_at": null,
          "fetched_at": "2026-11-19T18:07:42.781089Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Left out: reviewer_name: it is the display name of a private person.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Yelp scrapers are in their own section there.