Spiral gives your agent every tool with one account. Browse the tools →

opencode · E-commerce

How to Use Facebook Marketplace item details in opencode

Fetch a listing’s title, description, asking price, photos, attributes, location, delivery options, and status. Use it to inspect a known item or compare saved listings before making a sourcing decision.

Prompts to try with Facebook Marketplace item details in opencode

Copy an example into opencode, or ask in your own words.

Use Facebook Marketplace item details for listing 1656586118821988 and build a listing review component in this project showing its title, description, asking price, location, and delivery options.

Facebook Marketplace item detailsopencode
Try asking
  • Use Facebook Marketplace item details for https://www.facebook.com/marketplace/item/1656586118821988/ and add its returned attributes to the project's bicycle comparison table.

  • Use Facebook Marketplace item details for listing 1656586118821988 and create a photo review panel in this project using the returned listing photos.

  • Use Facebook Marketplace item details for listing 1656586118821988 and add separate live, pending, and sold indicators to the project's purchasing shortlist.

  • Use Facebook Marketplace item details for listing 1656586118821988 and add a comparison against the project's previous observation, highlighting changes in the asking price and description.

How to set up Facebook Marketplace item details in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Facebook Marketplace item details

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "scrapecreators",
        "model": "scrapecreators/facebook-marketplace-item",
        "input": {
          "id": "1656586118821988"
        }
      }'

Then paste one of the prompts above: opencode finds Facebook Marketplace item details on Spiral, shows the price and runs it.

Facebook Marketplace item details providers and prices

Spiral runs Facebook Marketplace item details through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsE-commerce
Facebook Marketplace · Marketplace Item
scrapecreators/facebook-marketplace-item

What can you do with Facebook Marketplace item details in opencode?

Build a purchasing comparison from known Facebook Marketplace listings, including descriptions, attributes, delivery options, and status. A coding agent can put those details into the project’s review interface and compare successive observations.

Build a sourcing shortlist

Turn known Marketplace listings into a comparison of asking prices, item attributes, location, and delivery options for a resale business.

Review equipment for a business

Extract specifications and seller descriptions from saved equipment listings, then identify questions a purchasing team needs answered.

Watch listing status

Recheck selected items and flag changes in their live, pending, or sold status for a purchasing shortlist.

Compare asking-price changes

Compare repeated observations of the same listings to identify changes in advertised amounts, keeping those separate from completed-sale evidence.

Prepare pickup decisions

Summarize listing locations and delivery options so a business can decide which items merit a pickup inquiry.

Review listing descriptions and photos

Bring the description, attributes, and returned photos into one review to identify unclear specifications or questions about an item’s condition.

Questions about Facebook Marketplace item details in opencode

Can opencode use Facebook Marketplace item details?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Facebook Marketplace item details like any built-in tool.

How much does Facebook Marketplace item details cost in opencode?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need a ScrapeCreators account to use Facebook Marketplace item details in opencode?

No. Spiral runs Facebook Marketplace item details on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Facebook Marketplace item details in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Facebook Marketplace item details runs?

Facebook Marketplace item details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What does an item lookup return?

It retrieves one Facebook Marketplace listing, with available details such as its description, asking price, photos, attributes, location, delivery options, and status.

How fresh are the listing details?

ScrapeCreators says each request fetches the latest available item information from Facebook Marketplace. This describes retrieval freshness, rather than an independent check of the seller’s claims.

Do rental listings include listing dates and availability?

Rental listings can include Facebook’s listing date text and availability text. Both depend on Facebook exposing that information for the item.

Are seller details always available?

Seller information is limited to what Facebook exposes for the listing. A listing lookup should not be treated as a complete seller record.

Does a sold listing reveal the final sale amount?

Marketplace listing data provides asking prices and status, rather than a dependable completed-sales ledger. A sold flag does not establish the amount a buyer paid.

Get started

Start using Facebook Marketplace item details in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options