SocialAPIs
Sources
PricingBlogFAQContact
Cheerio Selector Library

Pre-built Scraping Configs

Ready-to-use CSS selectors for popular websites. Copy, paste, and start scraping in seconds.

Sort:
0 configs

Loading configs...

Can't find what you need?

Build your own custom selectors with Visual Selector or use our API.

Open Visual SelectorView API Docs
SocialAPIs

The unified API for social media data. Built for developers and AI agents.

Now in MCP Registry

Product

  • API Reference
  • Pricing
  • Documentation
  • Blog
  • Compare vs others
  • MCP Server

Free Tools

  • Network Inspector
  • Visual Selector
  • JSON Selector
  • cURL Converter
  • Leads Generator
  • Hashtag Generator
  • JSON Formatter
  • URL Encoder

Libraries

  • Network Library
  • Cheerio Library

Resources

  • GitHub
  • npm Package
  • Chrome Extension
  • System Status
  • FAQ
  • About
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Service

© 2026 SocialAPIs. All rights reserved.

What is the Cheerio Selector Library?

A free, curated catalogue of production-tested CSS selectors for popular websites — Facebook pages, Instagram profiles, Marketplace listings, news articles, product pages, directory entries. Each selector is paired with the field it extracts and a one-line description so you can paste it straight into your scraper without spending 20 minutes in devtools.

How it works

  1. Browse the catalogue by site, field, or platform.
  2. Each entry shows the CSS selector, an XPath alternative where useful, and what the selector returns.
  3. Copy the selector. Paste into your Cheerio (or jQuery / Beautiful Soup with CSS-mode) call.
  4. Run. The selector matches the target field on the target site.

Why a curated library beats a generic CSS reference

  • • Real selectors tested against real production HTML — not toy examples.
  • • Updated when target sites change their layout (especially Facebook + Instagram).
  • • Includes the "stable selector trick" — prefer id / data-attribute / role over class-only paths.
  • • Cross-references our hosted endpoints when one exists, so you can pick the cheaper option.

When you should use SocialAPIs' hosted endpoints instead

The library is a starting point for scraping sites we don't host. For Facebook and Instagram specifically, hit the hosted REST API at /api-sources — it handles upstream HTML churn on our side, returns structured JSON instead of HTML you have to parse, comes with rate limits and SLA, and integrates with the MCP server. Same dataset, less brittle code, lower long-term cost than maintaining your own scraper.

Frequently asked questions

What's in the Cheerio selector library?

A curated set of CSS selectors (and a few XPath alternatives) that map to common fields on popular websites — Facebook pages, Instagram profiles, Marketplace listings, news article schemas, e-commerce product pages, business directories. Each entry is the selector plus a one-line description of what it extracts.

Do I need a SocialAPIs account to use the selectors?

No. The selectors are free to copy and use however you like. You only need an account if you want to run actual SocialAPIs requests (for Facebook + Instagram, where we host the scraping for you).

When should I use these selectors vs SocialAPIs' hosted endpoints?

If you're scraping Facebook or Instagram, hit our hosted REST API — it's cheaper than running your own scraper and we handle upstream layout churn for you. Use the library when you're scraping a site we don't expose (a customer's marketing site, a niche directory, an internal tool).

How do you keep the selectors up to date?

Facebook and Instagram churn their HTML often, so the selectors for those platforms ride alongside our hosted endpoints — when we fix the endpoint, we update the library entry. For third-party sites we update on a slower cadence; flag broken ones via the contact form and we'll patch within a day or two.

More tools from SocialAPIs

Visual CSS selector · Network library · JSON path selector · Hosted API endpoints