0.22¢ for the tested request

Facebook Marketplace API

Find used listings near a city.

Your agent can search Facebook Marketplace by keyword, location and price. One Austin bike search returned 13 listings.

Connect your agent to TaskFuel. It shows the price before paying from your prepaid balance.

Works with

Choose how to read Marketplace listings.

Use an API for structured search results or open Marketplace to browse listings yourself.

Prices and access checked on 13 November 2026.
OptionPrice & billingChoose it forGood to knowAccess
AnyAPIThrough TaskFuel$0.0022Tested request from your TaskFuel balanceAustin, Texas · bikes · $100–$500 · used, good conditionKeyword and location search with structured price fields and source links.One search page. Prices are listing fields, and seller-entered titles can disagree with them.TaskFuel
Facebook MarketplaceBrowse on FacebookProvider reference$0 to browseWeb interfaceIndividual items carry seller-listed prices.Browse the listings in their original context.Manual browsing.Direct

Facebook Marketplace API: what your agent gets.

One search page. Prices are listing fields, and seller-entered titles can disagree with them.

  • Search public Marketplace listings

    Pass a keyword, coordinates and optional filters. Our Austin bike search returned titles, listed prices and item links, plus a cursor for another page.

    $0.0022 for the tested request

Facebook Marketplace API, tested.

The first page returned 13 listings with price fields from $100 to $400. One title mentioned $160 while its price field said $100.

TaskFuel test run ·

Charged $0.0022

Your agent asked

Find used bikes around Austin, Texas, listed between $100 and $500. Show the listed price, city and source link.
Data from
AnyAPI

What came back

First listing
Small Road Bike · $100 · Austin, Texas
Another listing
Retrospec bike · $150 · Austin, Texas
Nearby listing
Linus Bike · $200 · Buda, Texas
Price mismatch
Huffy listing · $100 price field · $160 in the title

One search page. Prices are listing fields, and seller-entered titles can disagree with them.

Try the API request Quote first, then run

1. Check the price

Use your TaskFuel API key as TASKFUEL_API_KEY in your terminal or server. Keep it out of browser code. This request checks the price without paying.

This is the exact request used in the dated example.

curl --fail-with-body https://app.taskfuel.ai/v1/call \
  -H "Authorization: Bearer $TASKFUEL_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'TASKFUEL_REQUEST'
{
  "url": "https://api.getanyapi.com/v1/run/facebook.marketplace",
  "method": "POST",
  "body": {
    "query": "bike",
    "lat": "30.2677",
    "lng": "-97.7475",
    "priceMin": 100,
    "priceMax": 500,
    "condition": "used_good"
  },
  "dryRun": true
}
TASKFUEL_REQUEST

2. Run the request

Review amount_usd in the quote. To pay and run, change dryRun to false and add maxAmountUsd with that approved amount inside the same JSON object. Keep the inputs unchanged; this limit applies to one call.

3. Read the result

Read output.data.listings[].title, priceAmount, priceFormatted, locationName and url. output.data.hasNextPage and nextCursor describe pagination.

Setup and API reference · Job polling and timeout recovery

Try it in your next task.

Sign in to TaskFuel and copy the connection prompt into your agent. Approve the connection, then ask for the work you need.

01

Name the task

Tell your agent what the output needs to contain.

02

See the price

Your agent shows the provider and price before spending.

03

Review the response

Check the output against your task. The call reports its cost and remaining balance.

When to use it.

Shopping locally

Shortlist bikes in a price range.

Your agent can put returned listing titles, asking prices and locations in a table with links back to the listings.

Comparing listings

Flag conflicting prices.

A title can contain a different amount from the listing price field. The Austin search returned one example of that.

Providers for this task.

CapabilityProvidersReference
Facebook MarketplaceAnyAPI, StableSocialCompare providers · Endpoint data

Good Questions.

Does Facebook Marketplace have an API for this?

The TaskFuel example uses AnyAPI, a third-party service for searching public listings.

Did the results match the filters?

All 13 returned price fields were inside $100 to $500. The payload requested used items in good condition. The response supplied no condition field for individual listings.

Can this search contact sellers?

This guide covers reading public listing results. You can open an item link to continue on Marketplace.

What did the example cost?

The example cost $0.0022 on 13 November 2026. Your agent shows the price for your own request before it pays.

Do I need a separate provider account?

A TaskFuel connection is enough. Your agent pays from your TaskFuel balance.

Your agent can do things it couldn’t this morning.

$1 in free credit, no card required.

Start for Free