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.0When 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.
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.
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" } }'
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
conversationstringrequiredid, url).accountstringcursorstringnext 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).
objectstringidstringpositionintegerconversation_idstringid.textstringis_admin_message; null for a message of photos or a sticker only.sent_atdatesender.idstringsender.namestringsender.photo_urlstringsender.is_accountbooleanis_admin_messagebooleanattachmentslistkind: file), and shared cards (kind: card), in order.sticker_idstringreactionslistreply_to.message_idstringreply_to.textstringreply_to.sender_idstringreply_to.media_urlstringreply_to.sent_atdatementionslistread_by_otherbooleanis_forwardedbooleanis_unsentbooleanunsent_atdateedit_countintegerurlstringsource_urlstringobserved_atdateErrors
Its own, besides those of every call (Errors). A failed call is free.
| Code | Status | What it means |
|---|---|---|
invalid_options | 422 | conversation is a conversation's id or its link (facebook.com/messages/t/ |
invalid_cursor | 422 | This cursor was not given by an answer; send next from the last answer as it is. |
not_found | 404 | The account has no Marketplace conversation with this id: list its conversations with facebook_marketplace/conversations/list, with the same account. |
account_required | 422 | You 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_limited | 429 | This 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_unusable | 409 | Facebook 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_unavailable | 503 | Facebook did not answer properly; retry later (not charged). Retryable. |
unexpected_answer | 424 | Facebook 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-29next 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