Skip to content
NewIntroducing lobstr.io API v2: Web Data for AI Agents
Yelp API: List photosTry it

Yelp API: List photos

One page of a Yelp business's photos and videos, 100 at most: each at full size, with its caption, who posted it and when, its likes, and the review it came with.

1 credita callWorks today
Try itDocs
1Request
The business: its page on Yelp, from any of its sites (yelp.com/biz/<name>, its page of photos yelp.com/biz_photos/<name>...), its alias (the <name>), or Yelp's id for it (22 letters and digits, the id of yelp/businesses/search).
The tab of the business's photos, as its page names them: all (photos and videos, Yelp's order), food, drink, inside, outside, menu, videos, or a tab's own (a pizzeria's Food holds pizza, dessert, pasta).
1 credit a call
Code, from the fields above
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "yelp",
    "operation": "photos/list",
    "options": {
      "business": "https://www.yelp.com/biz/acme-pizza-brooklyn",
      "tab": "food"
    }
  }'
2Response

An example answer. Run it on your own input.

{
  "object": "run",
  "id": "run_4rj6sqsh7og4xtixpeffcvhzkm",
  "livemode": true,
  "source": "yelp",
  "operation": "photos/list",
  "version": "1.0.0",
  "schema_url": "https://api.lobstr.io/v2/catalog/yelp/photos/list",
  "options": {
    "business": "https://www.yelp.com/biz/acme-pizza-brooklyn",
    "tab": "food"
  },
  "fields": null,
  "status": "succeeded",
  "count": 1,
  "has_more": false,
  "next": null,
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "object": "photo",
      "id": "Ph3Kd8Zq1Vx6Mb2Ny9Lr4T",
      "position": 1,
      "kind": "photo",
      "url": "https://s3-media0.fl.yelpcdn.com/bphoto/Ph3Kd8Zq1Vx6Mb2Ny9Lr4T/o.jpg",
      "width": 2000,
      "height": 1500,
      "video": null,
      "caption": "Square pizza pie",
      "keywords": [
        "pizza",
        "food"
      ],
      "uploaded_at": "2023-07-05T19:42:28Z",
      "likes": 18,
      "author": {
        "id": "Us7p5nTW9Tpw_3VDC4vuLS",
        "name": "Jane D.",
        "photo_url": "https://s3-media0.fl.yelpcdn.com/photo/Av4BXLoDzGOXUbhR6Q52ik/ss.jpg"
      },
      "review": {
        "id": "Rv7Qm2Lx9Kp4Tz1Wn8Hc5A",
        "rating": 5,
        "text": "The square slice is worth the trip: crisp, sweet sauce, cheese under it.",
        "created_at": "2023-07-05T19:40:11Z",
        "author": {
          "id": "Us7p5nTW9Tpw_3VDC4vuLS",
          "name": "Jane D.",
          "review_count": 120,
          "friend_count": 93,
          "photo_count": 410,
          "photo_url": "https://s3-media0.fl.yelpcdn.com/photo/Av4BXLoDzGOXUbhR6Q52ik/s.jpg"
        }
      },
      "business": {
        "id": "Ab3Kd8Zq1Vx6Mb2Ny9Lr4T",
        "alias": "acme-pizza-brooklyn",
        "name": "Acme Pizza"
      },
      "page_url": "https://www.yelp.com/biz_photos/acme-pizza-brooklyn?select=Ph3Kd8Zq1Vx6Mb2Ny9Lr4T",
      "source_url": "https://www.yelp.com/biz_photos/acme-pizza-brooklyn?tab=food",
      "observed_at": "2026-12-06T10:00:00Z"
    }
  ]
}

33 fields per photo

Every call returns them for each record, in the results of its JSON answer.

List photos

33 fields
object
text
The kind of record: a photo or a video of a business.
photo
id
id
Yelp's id of the photo or video.
Ph3Kd8Zq1Vx6Mb2Ny9Lr4T
position
number
Its rank in the list, across pages: 101 is the first of page 2.
1
kind
text
A photo, or a video (its files in `video`).
photo
url
link
The photo at its original size; a video's still.
s3-media0.fl.yelpcdn.com/bphoto/Ph3Kd8Zq1Vx6Mb2Ny9Lr4T/o.jpg

What it costs

Billed by the call: 1 credits, whatever the page holds (up to 100 photos). Pick how many calls a month.

Every plan

1 credit a call

Calls a month

100

Per 100 calls

Free

On the free plan, up to 100 calls a month.

Live

Built to run

Every call counts; a day is green at 95% successful.

Successful calls
100.00%
Median call
2.9 s
90 days agoToday
95% or more (SLA)90 to 95%75 to 90%Under 75%

A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.

Frequently asked questions

What people ask before calling yelp/photos/list.

List photos

When do I use it?

You have a business on Yelp (its page's address, its alias, or Yelp's id for it) and need its photos and videos, as its page of photos lists them: each photo at its original size, a video's files, the caption, what Yelp sees in it (keywords), who posted it and when, its likes, and the review it came with (rating, text, reviewer). All of them by default, photos and videos in Yelp's order; or one tab (tab: food, drink, inside, outside, menu, videos, or a tab's own such as pizza); or the photos Yelp finds for a word (query), from what they show and their caption. Follow next for the following page, to the list's end. For the business itself, use yelp/businesses/search; for its reviews, yelp/reviews/list.

What do I give it?
  • business (required): The business: its page on Yelp, from any of its sites (yelp.com/biz/, its page of photos yelp.com/biz_photos/...), its alias (the ), or Yelp's id for it (22 letters and digits, the id of yelp/businesses/search).
  • tab: The tab of the business's photos, as its page names them: all (photos and videos, Yelp's order), food, drink, inside, outside, menu, videos, or a tab's own (a pizzeria's Food holds pizza, dessert, pasta). A business has the tabs its photos fill; a tab it does not have answers an empty page.
  • query: A word or a few, as the page's Search photos box: the photos Yelp finds for it, from what they show as much as from their caption (cannoli finds desserts, some without a caption), its best first. Every photo is searched: leave tab out with it.
What does it return?

One page of a Yelp business's photos and videos, 100 at most: each at full size, with its caption, who posted it and when, its likes, and the review it came with. Every record has the same fields, empty ones included: they are all listed above.

How do I get the next page?

Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 100 records at most.

Pricing

What does a call cost?

1 credit per call that returns photos, a page of up to 100. An empty answer and a failed call are free.

When is a call free?
  • an empty page (past the end, or nothing found)
  • a call that fails

Errors

What can go wrong?
  • invalid_input (422): Pass a business's page on Yelp (yelp.com/biz/...), its alias or Yelp's id for it, and a tab of its photos or a word to search their captions, not both.
  • business_not_found (404): Yelp has no business at this address, alias or id. Not charged.
  • site_unavailable (503, retry): Yelp did not answer properly; retry later (not charged).
  • unexpected_answer (424): Yelp answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?

45 seconds at most by default, up to 90 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.

API and agents

Can my AI agent run it?

Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs yelp/photos/list. Its page for agents, in Markdown: yelp/photos/list.md.

Where is its full description?

The contract, as JSON: https://api.lobstr.io/v2/catalog/yelp/photos/list: every option, every field, the price and the errors. This page is drawn from it.

Ready to call it?

An API key in a minute, then the call above, from your code or your agent.