Facebook 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.
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, from the contract. Run it on your own input with your API key.
{ "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" } ] }
28 fields per message
Every call returns them for each record, in the results of its JSON answer.
List a Marketplace conversation's messages
28 fields- object
- text
- message
- id
- text
- The message's id on Facebook (mid.$...).
- mid.$gAAq9_XAG9K1xJgcJZ1q9MG-zBTSr
- position
- number
- Its rank from the latest: 1 is the last message written.
- 1
- conversation_id
- id
- The conversation's id, as conversations/list's `id`.
3023645970986157- text
- text
- 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.
- Thanks!
What it costs
Billed by the call: 1 credits, whatever the page holds (up to 20 messages). Pick how many calls a month.
1 credit a call
Calls a month
100
Built to run
Every call counts; a day is green at 99.5% successful.
- Successful calls
- 100.00%
- Median call
- 4.5 s
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 facebook_marketplace/messages/list.
List a Marketplace conversation's messages
When do I 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.
What do I give it?
conversation(required): The conversation: its id, or its link in Messenger (facebook.com/messages/t/), as facebook_marketplace/conversations/list gives them ( id,url).account: 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.
What does it return?
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. 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 20 records at most.
Pricing
What does a call cost?
1 credit a page of about 20 messages. An empty page, a busy account and a failed call are free.
When is a call free?
- an empty page (past the end, or nothing found)
- a call that fails
- a call the account is too busy for (it answers with retry_after)
Errors
What can go wrong?
invalid_options(422):conversationis a conversation's id or its link (facebook.com/messages/t/), as facebook_marketplace/conversations/list gives them. invalid_cursor(422): This cursor was not given by an answer; sendnextfrom 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, retry): 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_aftersays when it can again, in seconds. Retrying before then gets this same answer: nothing is queued.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, retry): Facebook did not answer properly; retry later (not charged).unexpected_answer(424): Facebook answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?
30 seconds at most by default, up to 60 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 facebook_marketplace/messages/list. Its page for agents, in Markdown: facebook_marketplace/messages/list.md.
Where is its full description?
The contract, as JSON: https://api.lobstr.io/v2/catalog/facebook_marketplace/messages/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.