Skip to content
OperationsFacebook Marketplace

List a Marketplace conversation's messages

The messages of one of a connected Facebook account's Marketplace conversations, the latest first and page after page back to the first: who wrote, what, when, with the photos, cards and reactions, and whether the other side read it.

facebook_marketplace/messages/list1 credit a callv1.1.0

When to use it

You sell (or buy) on Facebook Marketplace with a connected account and need what was said in a conversation, not only its last message: each message's text as written, who sent it (the account, or the person on the other side, with their name), when, its photos and files, shared cards, reactions, the message it replies to, and whether the other side has read the account's messages. Give the conversation's id or its link, as facebook_marketplace/conversations/list returns them; next goes back in time, about 20 messages a page, to the conversation's first. Reading sends nothing back: no read receipt, nothing the other person sees.

It runs with one of your own Facebook Marketplace accounts, connected once: Accounts.

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 conversation: its id, or its link in Messenger (facebook.com/messages/t/<id>), as facebook_marketplace/conversations/list gives them (id, url).
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": "facebook_marketplace",
    "operation": "messages/list",
    "options": {
      "conversation": "3023645970986157"
    }
  }'
2Response

An example answer. Run it on your own input.

{
  "object": "run",
  "id": "run_buokkatrzpvkmykfmyn2lgwfgm",
  "livemode": true,
  "source": "facebook_marketplace",
  "operation": "messages/list",
  "version": "1.1.0",
  "schema_url": "https://api.lobstr.io/v2/catalog/facebook_marketplace/messages/list",
  "options": {
    "conversation": "3023645970986157"
  },
  "fields": null,
  "status": "succeeded",
  "count": 2,
  "has_more": false,
  "next": null,
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "object": "message",
      "id": "mid.$gAAq9_XAG9K1xJgcJZ1q9MG-zBTSr",
      "position": 1,
      "conversation_id": "3023645970986157",
      "text": "Thanks!",
      "sent_at": "2019-05-26T15:28:19Z",
      "sender": {
        "id": "1095825462",
        "name": "Alex Morgan",
        "photo_url": "https://scontent.xx.fbcdn.net/v/t1.30497-1/84628273_176159830277856_972693363922829312_n.jpg",
        "is_account": true
      },
      "is_admin_message": false,
      "attachments": [],
      "sticker_id": null,
      "reactions": [],
      "reply_to": null,
      "mentions": [],
      "read_by_other": false,
      "is_forwarded": false,
      "is_unsent": false,
      "unsent_at": null,
      "edit_count": 0,
      "url": "https://www.facebook.com/messages/t/3023645970986157/",
      "source_url": "https://www.facebook.com/messages/t/3023645970986157/",
      "observed_at": "2026-11-29T16:00:00Z"
    },
    {
      "object": "message",
      "id": "mid.$gAAq9_XAG9K1xJfqYUFq9LhJu-3X8",
      "position": 2,
      "conversation_id": "3023645970986157",
      "text": "Good luck with your search",
      "sent_at": "2019-05-26T15:04:25Z",
      "sender": {
        "id": "533826471",
        "name": "Sam Rivers",
        "photo_url": "https://scontent.xx.fbcdn.net/v/t1.30497-1/143086968_2856368904622192_1959732218791162459_n.jpg",
        "is_account": false
      },
      "is_admin_message": false,
      "attachments": [],
      "sticker_id": null,
      "reactions": [],
      "reply_to": null,
      "mentions": [],
      "read_by_other": null,
      "is_forwarded": false,
      "is_unsent": false,
      "unsent_at": null,
      "edit_count": 0,
      "url": "https://www.facebook.com/messages/t/3023645970986157/",
      "source_url": "https://www.facebook.com/messages/t/3023645970986157/",
      "observed_at": "2026-11-29T16:00:00Z"
    }
  ]
}

Options

conversationstringrequired
The conversation: its id, or its link in Messenger (facebook.com/messages/t/), as facebook_marketplace/conversations/list gives them (id, url).
accountstring
The connected Facebook account the conversation is in (GET /v2/accounts). Left out, the platform takes the first of your Facebook accounts with a free slot.
cursorstring
Where to continue, from next in an answer, as it is: opaque, and only for the conversation it was given with (otherwise invalid_cursor).

Record

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

objectstring
idstring
The message's id on Facebook (mid.$...).
positioninteger
Its rank from the latest: 1 is the last message written.
conversation_idstring
The conversation's id, as conversations/list's id.
textstring
As written; Facebook's own line for an event (Daniel sold 1 Bed 1 Bath Apartment/condo.) when is_admin_message; null for a message of photos or a sticker only.
sent_atdate
sender.idstring
Their Facebook id: facebook_marketplace/sellers/get reads a seller by it.
sender.namestring
sender.photo_urlstring
sender.is_accountboolean
Whether the connected account wrote it.
is_admin_messageboolean
Facebook's own line (a listing sold, a name changed), not a person's.
attachmentslist
Its photos, videos, voice messages and files (kind: file), and shared cards (kind: card), in order.
sticker_idstring
reactionslist
reply_to.message_idstring
reply_to.textstring
reply_to.sender_idstring
reply_to.media_urlstring
reply_to.sent_atdate
mentionslist
read_by_otherboolean
For the account's own messages: whether the person on the other side has read it (how far they read, as Messenger says). Null for their messages, or when Facebook does not say.
is_forwardedboolean
is_unsentboolean
Taken back by its sender: its text is gone.
unsent_atdate
edit_countinteger
urlstring
The conversation in Messenger.
source_urlstring
observed_atdate

Errors

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

CodeStatusWhat it means
invalid_options422conversation is a conversation's id or its link (facebook.com/messages/t/), as facebook_marketplace/conversations/list gives them.
invalid_cursor422This cursor was not given by an answer; send next from the last answer as it is.
not_found404The account has no Marketplace conversation with this id: list its conversations with facebook_marketplace/conversations/list, with the same account.
account_required422You have no connected Facebook account. Connect one with POST /v2/accounts {"site": "facebook", "cookies": ...}: the cookies of a browser where you are logged in to facebook.com (https://docs.lobstr.io/accounts).
account_rate_limited429This Facebook account cannot read right now: it pauses a few seconds between two calls, makes 1,000 a day, and Facebook can slow it down. retry_after says when it can again, in seconds. Retrying before then gets this same answer: nothing is queued. Retryable.
account_unusable409Facebook logged this account out or asks it a security check. Open facebook.com in the browser the account comes from, then connect it again with POST /v2/accounts and fresh cookies (the same account keeps its id).
site_unavailable503Facebook did not answer properly; retry later (not charged). Retryable.
unexpected_answer424Facebook answered in a shape we do not read yet; we are told and fix it (not charged).

Price

1 credit a page of about 20 messages. An empty page, a busy account and a failed call are free. What a credit costs on each plan: Credits and pricing.

Each connected account makes one call every 4 seconds, plus 0 to 3 seconds and 1000 a day; a busy account answers at once with account_rate_limited and retry_after.

Changelog

1.1.02026-11-29
The whole conversation: next goes back in time, about 20 messages a page, to its first message, asked as Messenger's page asks them when it is scrolled up.
1.0.02026-11-29
First version: a Marketplace conversation's latest messages (about 20), each with its text, its sender and their name, when, its photos, files and cards, reactions, the message it replies to, and whether the other side read the account's messages. Older messages come with 1.1.0.