# Facebook Marketplace Listing Policy Checker (`ultimatemc/facebook-marketplace-listing-policy-checker`) Actor

Check Facebook Marketplace listings against Meta's Commerce Policies before posting or after scraping: weapons, alcohol, vapes, Rx and supplements, medical devices, live animals, gift cards and tickets, services, digital products, counterfeits, locked phones and more. Quotes, fixes and policy links.

- **URL**: https://apify.com/ultimatemc/facebook-marketplace-listing-policy-checker.md
- **Developed by:** [Ultimate Foresight Inc](https://apify.com/ultimatemc) (community)
- **Categories:** E-commerce, Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Check **Facebook Marketplace listings** against **Meta's Commerce Policies** before you post them or while you moderate them. The **Facebook Marketplace Listing Policy Checker** reads each listing's title, description and price and flags **27 prohibited or restricted categories**: **live animals**, **weapons and ammunition**, **alcohol, tobacco and vapes**, **drugs and CBD**, **medical devices, supplements and health claims**, **adult items**, **tickets and gift cards**, **services and jobs**, **digital products and streaming boxes**, **hazardous items**, **counterfeits and "dupes"**, **signs of stolen goods** (iCloud locked, no questions asked) and **listings with no item for sale**. Each finding shows the matched words, the Meta policy page and a fix. Click **Start** with the prefilled example to see it work.

> This is a keyword screen against Meta's published Commerce Policies, not a prediction of what Meta will remove, and it doesn't certify that a listing follows any policy. Policies change, so check the linked page. Every row carries this disclaimer.

### What does the Facebook Marketplace Listing Policy Checker do?

- ✅ **Animals**: live animals, pets and livestock (including rehoming fees and free-to-good-home posts), animal parts and certain animal foods. Pet supplies like cages and collars aren't flagged.
- ✅ **Weapons, alcohol, tobacco and drugs**: firearms, ammo, gun parts, knives sold as weapons, alcohol, cigarettes and vapes, prescription and recreational drugs, CBD and THC.
- ✅ **Health**: medical devices, prescription contact lenses, infant formula, supplements and claims to cure or treat disease.
- ✅ **Money and access**: tickets, gift cards, currency, documents and IDs, gambling, digital products, accounts and jailbroken streaming devices.
- ✅ **Services, jobs and housing**: services and job ads in the item feed, and discriminatory housing wording.
- ✅ **Authenticity and theft**: replicas, "dupes", counterfeit wording, iCloud or carrier locked phones and "no questions asked".
- ✅ **Other**: hazardous materials, body fluids, used cosmetics, posts with no actual item for sale, and business-seller signals. Vehicle-part rules are low-severity heuristics.
- ✅ Output per listing: `riskLevel` (high, medium, low, none found), `issueCount`, `categoriesFlagged`, `titleLength`, `issues` (`ruleId`, `category`, `severity`, `field`, `quote`, `context`, `policyUrl`, `fixHint`), `checkedAt` and a disclaimer.

### Who is it for?

- **Resellers and small shops** checking listings before Marketplace removes them or restricts the account.
- **Listing tools and cross-posting apps** adding a pre-post check.
- **Community moderators and researchers** screening scraped Marketplace data for prohibited items.
- **Brand protection teams** finding counterfeit and dupe listings.

### How to check Facebook Marketplace listings

1. Click **Start** with the prefilled example (three listings Marketplace commonly removes and one ordinary listing).
2. Replace it with your listings: `title`, and optionally `description`, `price`, `category`, `id` and `url`. Or paste titles into **Titles only**.
3. Or enter a **Dataset ID** from a Facebook Marketplace scraper. Fields like `marketplace_listing_title`, `redacted_description.text` and `listing_price.amount` are found automatically; use **Field map** for others.
4. Turn on **Only save rows with findings** for big runs; you only pay for saved rows.
5. Export the results or send high-risk listings to Slack, email or a sheet.

### Input example

This is the prefilled input:

```json
{
  "listings": [
    {
      "id": "EXAMPLE-1",
      "title": "Golden retriever puppies for sale",
      "description": "AKC registered, vet checked and up to date on shots. $200 deposit holds your pick.",
      "price": "$1,200"
    },
    {
      "id": "EXAMPLE-2",
      "title": "iPhone 13 128GB",
      "description": "iCloud locked, selling for parts. No questions asked.",
      "price": "$90"
    },
    {
      "id": "EXAMPLE-3",
      "title": "Taylor Swift concert tickets, 2 floor seats",
      "description": "Can transfer by text.",
      "price": "$600"
    },
    {
      "id": "EXAMPLE-4",
      "title": "Oak dining table with 4 chairs",
      "description": "Solid oak, a few scratches on the top. Pickup only.",
      "price": "$150"
    }
  ]
}
```

Dataset mode:

```json
{"datasetId": "YOUR_DATASET_ID", "fieldMap": {"title": "marketplace_listing_title", "description": "redacted_description.text", "price": "listing_price.formatted_amount"}, "onlyFlagged": true, "maxItems": 10000}
```

### Output example

Real output from a run of the prefilled input on 2026-10-30 (long finding lists are shortened here; the run returns all of them):

```json
[
  {
    "itemNo": 1,
    "listingId": "EXAMPLE-1",
    "url": null,
    "title": "Golden retriever puppies for sale",
    "riskLevel": "high",
    "issueCount": 3,
    "titleLength": 33,
    "categoriesFlagged": [
      "Animals and animal products"
    ],
    "issues": [
      {
        "ruleId": "live_animals",
        "category": "Animals and animal products",
        "severity": "high",
        "field": "title",
        "quote": "puppies for sale",
        "context": "Golden retriever puppies for sale",
        "policyUrl": "https://www.facebook.com/policies_center/commerce/animals",
        "fixHint": "Meta doesn't allow live animals, including pets and livestock, on Marketplace (rehoming fees and 'free to good home' posts included). Cages, toys, collars and other pet supplies are allowed."
      },
      {
        "ruleId": "live_animals",
        "category": "Animals and animal products",
        "severity": "high",
        "field": "description",
        "quote": "AKC registered",
        "context": "AKC registered, vet checked and up to date on shots. $200 d...",
        "policyUrl": "https://www.facebook.com/policies_center/commerce/animals",
        "fixHint": "Meta doesn't allow live animals, including pets and livestock, on Marketplace (rehoming fees and 'free to good home' posts included). Cages, toys, collars and other pet supplies are allowed."
      },
      {
        "...": "1 more findings: live_animals 'vet checked'"
      }
    ],
    "checkedAt": "2026-10-30T18:52:07+00:00",
    "disclaimer": "Automated text pre-check based on Meta's public Commerce Policies. Flags are possible..."
  },
  {
    "itemNo": 2,
    "listingId": "EXAMPLE-2",
    "url": null,
    "title": "iPhone 13 128GB",
    "riskLevel": "medium",
    "issueCount": 2,
    "titleLength": 15,
    "categoriesFlagged": [
      "Stolen goods"
    ],
    "issues": [
      {
        "ruleId": "stolen_signals",
        "category": "Stolen goods",
        "severity": "medium",
        "field": "description",
        "quote": "iCloud locked",
        "context": "iCloud locked, selling for parts. No questions asked.",
        "policyUrl": "https://www.facebook.com/policies/commerce",
        "fixHint": "Meta doesn't allow stolen or unlawfully acquired items. Phrases like 'iCloud locked', 'bad IMEI', 'no questions asked' or 'found it' are common signals of locked or stolen devices and get listings reported."
      },
      {
        "ruleId": "stolen_signals",
        "category": "Stolen goods",
        "severity": "medium",
        "field": "description",
        "quote": "No questions asked",
        "context": "iCloud locked, selling for parts. No questions asked.",
        "policyUrl": "https://www.facebook.com/policies/commerce",
        "fixHint": "Meta doesn't allow stolen or unlawfully acquired items. Phrases like 'iCloud locked', 'bad IMEI', 'no questions asked' or 'found it' are common signals of locked or stolen devices and get listings reported."
      }
    ],
    "checkedAt": "2026-10-30T18:52:07+00:00",
    "disclaimer": "Automated text pre-check based on Meta's public Commerce Policies. Flags are possible..."
  },
  {
    "itemNo": 3,
    "listingId": "EXAMPLE-3",
    "url": null,
    "title": "Taylor Swift concert tickets, 2 floor seats",
    "riskLevel": "medium",
    "issueCount": 2,
    "titleLength": 43,
    "categoriesFlagged": [
      "Restricted content (approved sellers only)"
    ],
    "issues": [
      {
        "ruleId": "gift_cards_tickets",
        "category": "Restricted content (approved sellers only)",
        "severity": "medium",
        "field": "title",
        "quote": "concert tickets",
        "context": "Taylor Swift concert tickets, 2 floor seats",
        "policyUrl": "https://www.facebook.com/policies/commerce",
        "fixHint": "Meta restricts gift cards, vouchers and event tickets to approved sellers. Ordinary Marketplace sellers usually can't list them."
      },
      {
        "ruleId": "gift_cards_tickets",
        "category": "Restricted content (approved sellers only)",
        "severity": "medium",
        "field": "title",
        "quote": "floor seats",
        "context": "Taylor Swift concert tickets, 2 floor seats",
        "policyUrl": "https://www.facebook.com/policies/commerce",
        "fixHint": "Meta restricts gift cards, vouchers and event tickets to approved sellers. Ordinary Marketplace sellers usually can't list them."
      }
    ],
    "checkedAt": "2026-10-30T18:52:07+00:00",
    "disclaimer": "Automated text pre-check based on Meta's public Commerce Policies. Flags are possible..."
  },
  {
    "itemNo": 4,
    "listingId": "EXAMPLE-4",
    "url": null,
    "title": "Oak dining table with 4 chairs",
    "riskLevel": "none found",
    "issueCount": 0,
    "titleLength": 30,
    "categoriesFlagged": [],
    "issues": [],
    "checkedAt": "2026-10-30T18:52:07+00:00",
    "disclaimer": "Automated text pre-check based on Meta's public Commerce Policies. Flags are possible..."
  }
]
```

### How much does it cost to check Marketplace listings?

This Actor uses pay-per-event pricing: **$0.002 per listing saved** plus a **$0.00005 start fee per run**, plus small platform usage paid by you (a few hundredths of a cent for small runs). That's about **$0.20 for 100 listings** and **$2 for 1,000 listings** plus usage. With **Only save rows with findings** on, listings with no findings aren't saved or charged. You can set a maximum cost per run in the run options.

### Use it through the API, integrations or AI agents

- Run it and get results in one call: `https://api.apify.com/v2/acts/ultimatemc~facebook-marketplace-listing-policy-checker/run-sync-get-dataset-items`
- Use it from AI agents through the Apify MCP server: `https://mcp.apify.com?tools=ultimatemc/facebook-marketplace-listing-policy-checker`
- Schedule it after a daily scraper run, send flagged rows to Slack or email with webhooks, or connect it to Make, Zapier, n8n or Google Sheets.
- Chain it after a Marketplace scraper by passing the scraper's dataset ID.

### How it works

Rules are deterministic English keyword and phrase patterns written from Meta's Commerce Policies pages, checked on 2026-10-30, with exclusions for common false friends (for example "dog crate", "water gun", "wine rack", "magazine rack" or "ammo cans"). No AI and no outside calls are used. Each rule reports at most two matches per field, and the listing's risk level is its highest severity.

Sources:

- [Meta Commerce Policies](https://www.facebook.com/policies/commerce)
- [Meta Commerce Policies: Animals](https://www.facebook.com/policies_center/commerce/animals)
- [Meta Policies Center: Commerce](https://www.facebook.com/policies_center/commerce)

### FAQ

#### Will Meta remove a listing this flags?

Not necessarily. Meta's review uses images, account history and other signals this Actor can't see. A finding means the text matches a category Meta's Commerce Policies prohibit or restrict.

#### Does "none found" mean the listing is allowed?

No. It means none of the rules matched the text. Photos, prices or context can still break a policy.

#### Why are pet supplies not flagged?

Meta allows them, so phrases like "dog crate" or "cat tree" are excluded from the live-animals rule.

#### Is it AI?

No. It's a fixed rule set, so results are repeatable and runs cost $0.002 per listing.

#### Does it scrape Facebook?

No. It only checks listings you supply or a dataset you select.

### Limitations

- English text only; images aren't checked.
- Some Meta policy pages (for example vehicle parts and tobacco) weren't reachable on 2026-10-30, so those rules are marked low-severity heuristics.
- Local laws and Meta's regional rules can be stricter than the global policy.
- Rules reflect Meta's policies as of 2026-10-30.

### Other tools by Ultimate Foresight

- [Fair Housing Listing Checker for Real Estate Ads](https://apify.com/ultimatemc/fair-housing-listing-checker): flags rental and sale listing wording that may raise Fair Housing Act issues, with HUD sources and rewrite tips (screening aid only).
- [Ad Copy Policy Checker for Meta, Google & TikTok](https://apify.com/ultimatemc/ad-copy-policy-checker): checks ad text against Facebook, Instagram, Google Ads and TikTok ad policies before you submit.
- [H-1B Visa Sponsor Checker & Score for Job Listings](https://apify.com/ultimatemc/h1b-visa-sponsor-score): adds Department of Labor H-1B sponsorship history and a 0-100 score to company names or job listings.
- [Chain vs Independent Labeler for Google Maps Leads](https://apify.com/ultimatemc/chain-vs-independent-labeler): labels local businesses as chain, franchise or independent.
- [YouTube Monetization Checker for Scripts & Titles](https://apify.com/ultimatemc/youtube-script-monetization-checker): pre-checks titles, descriptions and scripts for wording that leads to limited or no ads.
- [Etsy & eBay Listing Policy & Banned Item Checker](https://apify.com/ultimatemc/etsy-ebay-listing-policy-checker): pre-checks marketplace listings for prohibited items, counterfeit wording and off-platform contact.
- [Job Scam Detector & Trust Score for Job Postings](https://apify.com/ultimatemc/job-posting-trust-score): scores job postings 0-100 for scam and ghost-job signals.
- [SAM.gov Amendment & Opportunity Change Tracker](https://apify.com/ultimatemc/sam-gov-opportunity-change-detector): shows what changed between versions of a SAM.gov notice: deadlines, set-asides, NAICS and attachments.
- [Product Recall Checker for Brands, UPCs & Products](https://apify.com/ultimatemc/product-recall-matcher): matches your brands, products, UPCs or model numbers against CPSC, FDA and NHTSA recalls.
- [App Store & Google Play Listing Policy Checker](https://apify.com/ultimatemc/app-store-listing-policy-checker): pre-checks app names, subtitles and descriptions against Apple and Google Play metadata rules.
- [Company Name Normalizer & Deduplicator for CRM](https://apify.com/ultimatemc/company-name-canonicalizer): cleans company names (Inc, LLC, d/b/a, aliases) and groups duplicates in CRM, lead or vendor lists.
- [FCC Covered List & Section 889 Bulk Screener](https://apify.com/ultimatemc/fcc-covered-list-screener): screens FCC IDs and brand names against the public FCC Covered List, with sources and timestamps (screening aid only).
- [Green Claims Checker: EU Greenwashing Ban & FTC](https://apify.com/ultimatemc/green-claims-checker): flags risky eco-friendly, carbon neutral and recyclable wording under EU, FTC and UK CMA rules.
- [Influencer #ad Disclosure Checker: FTC & ASA](https://apify.com/ultimatemc/influencer-ad-disclosure-checker): flags influencer posts with missing or unclear #ad labels under FTC, ASA/CAP and CMA rules.
- [Job Title to SOC Code Mapper with O\*NET Data](https://apify.com/ultimatemc/job-title-soc-code-mapper): maps job titles to SOC and O\*NET-SOC codes in bulk, with seniority and tech skills found in the posting.
- [Shrinkflation Detector for Grocery Price Data](https://apify.com/ultimatemc/shrinkflation-detector): finds smaller packs at the same or higher price by comparing two runs of a grocery scraper, with unit price before and after.
- [Job Ad Discrimination Checker for Job Posts (US)](https://apify.com/ultimatemc/job-ad-discrimination-checker): flags age, sex, national origin, citizenship and other discriminatory wording in job posts, with EEOC and DOJ sources (screening aid only).
- [Walmart Listing Policy Checker for Titles & Copy](https://apify.com/ultimatemc/walmart-listing-policy-checker): flags promotional phrases, retailer names, URLs, long titles and pesticide or FDA claims in Walmart Marketplace listings, with policy links and fixes.
- [TikTok Shop Listing Policy Checker for Products](https://apify.com/ultimatemc/tiktok-shop-listing-policy-checker): flags off-platform links, dupe wording, weight-loss, disease and FDA claims and title rule breaks in TikTok Shop listings.
- [Supplement & Cosmetic Claims Checker: FDA & FTC](https://apify.com/ultimatemc/supplement-cosmetic-claims-checker): flags disease, drug and 'FDA approved' claims and missing supplement disclaimers in supplement and beauty product copy, with FDA and FTC sources (screening aid only).
- [Rental Listing Scam Checker for Craigslist & FB](https://apify.com/ultimatemc/rental-listing-scam-checker): scores rental listings 0-100 for FTC-listed scam signs like wire or gift card payment, deposit before viewing and rent far below similar listings.
- [GTIN, UPC & EAN Barcode Validator (Check Digit)](https://apify.com/ultimatemc/gtin-barcode-validator): checks UPC, EAN, GTIN-14 and ISBN codes for wrong check digits, lost leading zeros, scientific notation, restricted prefixes and duplicates before a feed upload.
- [Fake Review Checker: Incentivized & Duplicates](https://apify.com/ultimatemc/review-integrity-checker): screens scraped reviews for incentivized or insider wording, copied text, rating bursts and rating/text mismatches named in the FTC 2024 fake-review rule.
- [Fake Discount Checker: EU 30-Day Prior Price](https://apify.com/ultimatemc/discount-claim-checker): checks 'was' and strikethrough prices against your own price history for 30-day prior-price, raise-then-discount and wrong-badge issues.
- [SMS Marketing Message Checker: STOP & 10DLC](https://apify.com/ultimatemc/sms-marketing-message-checker): pre-checks SMS marketing texts for segment count, STOP opt-out wording, URL shorteners, SHAFT content and quiet hours.
- [Hidden Fee Checker: Hotel, Rental & Ticket Prices](https://apify.com/ultimatemc/hidden-fee-price-checker): flags headline prices that leave out mandatory resort, service or booking fees under the FTC junk fees rule (16 CFR 464), with sources per finding.
- [EU GPSR Listing Checker for Amazon, eBay & Shops](https://apify.com/ultimatemc/gpsr-listing-checker): checks listings for the EU GPSR Article 19 online-sale details: manufacturer, EU responsible person, product identifier, picture and warnings.
- [Food Allergen Label Checker: US, EU & AU](https://apify.com/ultimatemc/food-allergen-label-checker): compares ingredient lists with the 'Contains' statement for US 9, EU/UK 14 and Australian PEAL allergens and flags gaps and conflicting free-from claims.
- [Toy Choking Hazard Warning Checker (CPSC)](https://apify.com/ultimatemc/toy-choking-warning-checker): flags toy listings missing the CPSC choking-hazard warnings for small parts, balloons, small balls and marbles, with age-grade checks.
- [Textile Fiber Label Checker: Bamboo & Origin](https://apify.com/ultimatemc/textile-fiber-label-checker): flags 'bamboo' claims that should say rayon, fiber percentages that don't add up, mismatched silk or cashmere titles and missing Made in USA/Imported.
- [Amazon Listing Policy Checker for Titles & Bullets](https://apify.com/ultimatemc/amazon-listing-policy-checker): flags pesticide, FDA and disease claims and Amazon title and bullet rule breaks in bulk, with policy links and fixes.
- [Prop 65 Warning Checker for Product Listings](https://apify.com/ultimatemc/prop65-warning-checker): flags Prop 65 safe-harbor warnings missing 'WARNING', the P65Warnings.ca.gov link or a chemical name, old short forms, and listed chemicals mentioned with no warning.
- [Unit Price Checker for Grocery & Retail Listings](https://apify.com/ultimatemc/unit-price-checker): parses pack sizes, recomputes the price per kg, litre or item, and flags missing or wrong unit prices in grocery and retail data.
- [Made in USA Claim Checker for Product Listings](https://apify.com/ultimatemc/made-in-usa-claim-checker): flags unqualified 'Made in USA' claims next to imported or foreign-origin details under the FTC rule (16 CFR 323), with sources per finding.
- [Subscription Auto-Renewal Disclosure Checker](https://apify.com/ultimatemc/auto-renewal-disclosure-checker): checks subscription and free-trial offer text for missing renewal, price, billing period and cancellation disclosures under California law and FTC ROSCA.
- [Email CAN-SPAM Checker & Unsubscribe Header Test](https://apify.com/ultimatemc/email-can-spam-checker): pre-checks marketing emails for missing unsubscribe links or postal address, misleading subjects and Google/Yahoo one-click unsubscribe headers.

Found a false positive or a missed item? Open an issue on the **Issues** tab with the listing text, and we'll review the rule.

# Actor input Schema

## `listings` (type: `array`):

Array of objects with "title" and optional "description", "price", "category", "id" and "url". The prefilled example shows listings Marketplace commonly removes next to an ordinary one; replace it with your own.

## `titles` (type: `array`):

One listing title per entry.

## `datasetId` (type: `string`):

Apify dataset with Marketplace listings, for example the output of a Facebook Marketplace scraper. Common fields (title, marketplace_listing_title, description, redacted_description.text, listing_price.amount, id, url) are detected automatically; override them with Field map.

## `fieldMap` (type: `object`):

Override field names; dotted paths work for nested fields. Example: {"title": "marketplace_listing_title", "description": "redacted_description.text", "price": "listing_price.formatted_amount"}.

## `onlyFlagged` (type: `boolean`):

Skip listings with no findings (you are only charged for saved rows).

## `maxItems` (type: `integer`):

Maximum number of listings to check in this run.

## Actor input object example

```json
{
  "listings": [
    {
      "id": "EXAMPLE-1",
      "title": "Golden retriever puppies for sale",
      "description": "AKC registered, vet checked and up to date on shots. $200 deposit holds your pick.",
      "price": "$1,200"
    },
    {
      "id": "EXAMPLE-2",
      "title": "iPhone 13 128GB",
      "description": "iCloud locked, selling for parts. No questions asked.",
      "price": "$90"
    },
    {
      "id": "EXAMPLE-3",
      "title": "Taylor Swift concert tickets, 2 floor seats",
      "description": "Can transfer by text.",
      "price": "$600"
    },
    {
      "id": "EXAMPLE-4",
      "title": "Oak dining table with 4 chairs",
      "description": "Solid oak, a few scratches on the top. Pickup only.",
      "price": "$150"
    }
  ],
  "onlyFlagged": false,
  "maxItems": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "listings": [
        {
            "id": "EXAMPLE-1",
            "title": "Golden retriever puppies for sale",
            "description": "AKC registered, vet checked and up to date on shots. $200 deposit holds your pick.",
            "price": "$1,200"
        },
        {
            "id": "EXAMPLE-2",
            "title": "iPhone 13 128GB",
            "description": "iCloud locked, selling for parts. No questions asked.",
            "price": "$90"
        },
        {
            "id": "EXAMPLE-3",
            "title": "Taylor Swift concert tickets, 2 floor seats",
            "description": "Can transfer by text.",
            "price": "$600"
        },
        {
            "id": "EXAMPLE-4",
            "title": "Oak dining table with 4 chairs",
            "description": "Solid oak, a few scratches on the top. Pickup only.",
            "price": "$150"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ultimatemc/facebook-marketplace-listing-policy-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "listings": [
        {
            "id": "EXAMPLE-1",
            "title": "Golden retriever puppies for sale",
            "description": "AKC registered, vet checked and up to date on shots. $200 deposit holds your pick.",
            "price": "$1,200",
        },
        {
            "id": "EXAMPLE-2",
            "title": "iPhone 13 128GB",
            "description": "iCloud locked, selling for parts. No questions asked.",
            "price": "$90",
        },
        {
            "id": "EXAMPLE-3",
            "title": "Taylor Swift concert tickets, 2 floor seats",
            "description": "Can transfer by text.",
            "price": "$600",
        },
        {
            "id": "EXAMPLE-4",
            "title": "Oak dining table with 4 chairs",
            "description": "Solid oak, a few scratches on the top. Pickup only.",
            "price": "$150",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ultimatemc/facebook-marketplace-listing-policy-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "listings": [
    {
      "id": "EXAMPLE-1",
      "title": "Golden retriever puppies for sale",
      "description": "AKC registered, vet checked and up to date on shots. $200 deposit holds your pick.",
      "price": "$1,200"
    },
    {
      "id": "EXAMPLE-2",
      "title": "iPhone 13 128GB",
      "description": "iCloud locked, selling for parts. No questions asked.",
      "price": "$90"
    },
    {
      "id": "EXAMPLE-3",
      "title": "Taylor Swift concert tickets, 2 floor seats",
      "description": "Can transfer by text.",
      "price": "$600"
    },
    {
      "id": "EXAMPLE-4",
      "title": "Oak dining table with 4 chairs",
      "description": "Solid oak, a few scratches on the top. Pickup only.",
      "price": "$150"
    }
  ]
}' |
apify call ultimatemc/facebook-marketplace-listing-policy-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ultimatemc/facebook-marketplace-listing-policy-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ooQoyHurd4bSu4ymE/builds/pI2wGZRdPoGezy6BR/openapi.json
