Skip to content
OperationsYelp

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.

yelp/photos/list1 credit a callv1.0.0

When to 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.

Try it

The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.

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"
    }
  ]
}

Options

businessstringrequired
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).
tabstringDefault all
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.
querystring
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.
cursorstring
Where to go on, from next in an answer, as it is: opaque, and only for the business, tab and search it was given with (otherwise invalid_cursor).

Record

Each record of results, in the envelope every call returns (Run an operation).

objectstring
The kind of record: a photo or a video of a business.
idstring
Yelp's id of the photo or video.
positioninteger
Its rank in the list, across pages: 101 is the first of page 2.
kindstring
A photo, or a video (its files in video).
urlstring
The photo at its original size; a video's still.
widthinteger
The original's width in pixels; null for a video.
heightinteger
The original's height in pixels; null for a video.
video.duration_msinteger
Its length, in milliseconds.
video.stream_urlstring
The video to play, as the page plays it.
video.fileslist
captionstring
As its author wrote it.
keywordslist
What Yelp sees in the photo: pizza, food. Empty for a video.
uploaded_atdate
likesinteger
author.idstring
Yelp's id of the person.
author.namestring
author.photo_urlstring
review.idstring
review.ratinginteger
review.textstring
review.created_atdate
review.author.idstring
review.author.namestring
review.author.review_countinteger
review.author.friend_countinteger
review.author.photo_countinteger
The photos of businesses the reviewer posted.
review.author.photo_urlstring
business.idstring
business.aliasstring
business.namestring
page_urlstring
The photo on Yelp, opened on the business's page of photos.
source_urlstring
The business's page of photos, at this tab and page.
observed_atdate

Errors

Its own, besides those of every call (Errors). A failed call is free.

CodeStatusWhat it means
invalid_input422Pass 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_found404Yelp has no business at this address, alias or id. Not charged.
site_unavailable503Yelp did not answer properly; retry later (not charged). Retryable.
unexpected_answer424Yelp answered in a shape we do not read yet; we are told and fix it (not charged).

Price

1 credit per call that returns photos, a page of up to 100. An empty answer and a failed call are free. What a credit costs on each plan: Credits and pricing.

Changelog

1.0.02026-12-06
First version: a business's photos and videos, 100 a page to the list's end, all of them or one tab, or the photos whose caption holds a word; each at full size with its caption, keywords, likes, author and review.