Beautiful Soup is a Python library for pulling data out of HTML and XML files, widely used for web scraping and screen scraping tasks. It provides a parse tree API with simple methods for navigating, searching, and modifying parsed HTML/XML documents. Beautiful Soup automatically handles encoding, supports multiple parsers (html.parser, lxml, html5lib), and integrates with CSS selectors via the Soup Sieve library. Current stable version is 4.14.3.
Beautiful Soup is listed with 1 API on the APIs.io network. Tagged areas include Data Extraction, HTML Parsing, Python, Web Scraping, and XML Parsing.
Beautiful Soup’s developer surface includes documentation, changelog, and 8 more developer resources.
Pull Beautiful Soup's APIs, OpenAPI, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Points earned after grading and authorship credit; n/a dimensions are left out of the score.
Regulatory Posture applies to this provider. Its tags matched the
Horizontal (data, software, accessibility, platform) regime, so
Regulatory Posture carries 15 points of the composite.
If this regime is wrong for your business, say so on your
provider repo — the
applicability map is public and we will correct it.
Create-or-Update Ergonomics could not be measured. We hold no machine-readable contract for
this provider to read, so there is nothing to measure a write surface against. Excluded rather than scored zero:
never-measured and measured-empty are different facts. Publishing an OpenAPI is what makes this facet — and
several others — scorable at all.
The six quality facets above are damped to 85 points between them,
because the conditional facet above carries the other
15. That is why each facet's contribution is shown against a damped
maximum: raising a quality facet moves the composite by 85% of its nominal
weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site.
It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/beautiful-soup/"><img src="https://apis.io/badge/beautiful-soup/card.svg" alt="Beautiful Soup on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
Machine-Readable Auth+10 pts — a served openid-configuration/oauth-authorization-server carrying `issuer` (served), else the securitySchemes class in the provider OpenAPIs — bound (mutualTLS, DPoP, Signature) > negotiable (oauth2 authorizationCode/clientCredentials, openIdConnect) > bearer (http bearer, apiKey) Ask about this →
Idempotency+9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented) Ask about this →
Stable Error Semantics+8 pts — OpenAPI $refs a shared error schema across 4xx/5xx responses (verified), else common[].type includes ErrorCatalog / ErrorCodes / DeclineCodes Ask about this →
13 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Beautiful Soup 4 is a Python library providing a parse tree API for HTML and XML documents. It exposes Tag, NavigableString, BeautifulSoup, and Comment objects with navigation m...
Beautiful Soup API pricing
Not yet checked against Beautiful Soup's own pricing page. Compiled by API Evangelist on 2026-05-04; confirm before you rely on a figure. A free plan or tier is listed.
aid: beautiful-soup
name: Beautiful Soup
description: Beautiful Soup is a Python library for pulling data out of HTML and XML files, widely used for web scraping and
screen scraping tasks. It provides a parse tree API with simple methods for navigating, searching, and modifying parsed
HTML/XML documents. Beautiful Soup automatically handles encoding, supports multiple parsers (html.parser, lxml, html5lib),
and integrates with CSS selectors via the Soup Sieve library. Current stable version is 4.14.3.
type: Index
deliveryModel:
model: library
open_source: false
commercial: false
callable_host: false
label: Library · distributed through package registries, no callable service
confidence: low
source:
- none
generated: '2026-08-28'
method: derived
accessModel:
pricing: freemium
onboarding: unknown
trial: false
try_now: false
public: false
label: Freemium
confidence: low
source:
- plans
- security
generated: '2026-11-28'
method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/beautiful-soup.png
tags:
- Data Extraction
- HTML Parsing
- Python
- Web Scraping
- XML Parsing
tags_raw:
- Data Extraction
- HTML Parsing
- Python
- Scraping
- Web Scraping
- XML Parsing
url: https://raw.githubusercontent.com/api-evangelist/beautiful-soup/refs/heads/main/apis.yml
created: '2026-03-29'
modified: '2026-10-06'
specificationVersion: '0.23'
apis:
- aid: beautiful-soup:beautiful-soup
name: Beautiful Soup
description: Beautiful Soup 4 is a Python library providing a parse tree API for HTML and XML documents. It exposes Tag,
NavigableString, BeautifulSoup, and Comment objects with navigation methods (find, find_all, CSS selectors), tree traversal
(parents, children, siblings), and modification methods (append, extract, replace). Supports html.parser, lxml, and html5lib
parsers with automatic encoding detection.
humanURL: https://www.crummy.com/software/BeautifulSoup/
tags:
- Data Extraction
- HTML Parsing
- Python
- Web Scraping
- XML Parsing
tags_raw:
- Data Extraction
- HTML Parsing
- Python
- Scraping
- Web Scraping
- XML Parsing
properties:
- type: Documentation
url: https://www.crummy.com/software/BeautifulSoup/bs4/doc/
- type: GettingStarted
url: https://www.crummy.com/software/BeautifulSoup/bs4/doc/#quick-start
- type: SDKs
url: https://pypi.org/project/beautifulsoup4/
title: Python Package (PyPI)
common:
- type: Plans
url: plans/beautiful-soup-plans-pricing.yml
- type: RateLimits
url: rate-limits/beautiful-soup-rate-limits.yml
- type: FinOps
url: finops/beautiful-soup-finops.yml
- url: https://www.crummy.com/atom.xml
type: BlogRSS
- type: DomainSecurity
url: security/beautiful-soup-domain-security.yml
- type: Website
url: https://www.crummy.com/software/BeautifulSoup/
- type: Documentation
url: https://www.crummy.com/software/BeautifulSoup/bs4/doc/
- type: SDKs
url: https://pypi.org/project/beautifulsoup4/
title: PyPI Package
- type: GitHubOrganization
url: https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4
- type: ChangeLog
url: https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG
- type: Features
data:
- name: Multi-Parser Support
description: Supports html.parser (built-in), lxml (fast), and html5lib (browser-like) parsers for flexible HTML/XML parsing.
- name: CSS Selector Support
description: Full CSS4 selector support via the Soup Sieve library for familiar CSS-based element selection.
- name: Tree Navigation API
description: Rich API for navigating the parse tree upward, downward, and sideways including find(), find_all(), parents,
children, and siblings.
- name: Automatic Encoding Detection
description: Automatically detects and handles document encoding using Unicode, Dammit, ensuring correct text extraction.
- name: Tree Modification
description: Full tree modification support including append, insert, extract, decompose, replace_with, wrap, and unwrap
operations.
- name: Output Formatting
description: Multiple output formatters including prettify(), get_text(), and custom formatters for controlled serialization.
- type: UseCases
data:
- name: Web Scraping
description: Extract data from websites by parsing HTML pages with Beautiful Soup and navigating the DOM tree to find
target elements.
- name: Data Mining
description: Mine structured data from HTML tables, lists, and other markup patterns across large numbers of web pages.
- name: Content Extraction
description: Extract article text, product information, or other content from web pages for NLP pipelines and data analysis.
- name: Screen Scraping Legacy Systems
description: Automate data extraction from legacy HTML web interfaces that lack modern APIs.
- name: HTML Sanitization
description: Parse and clean HTML documents by removing unwanted tags, scripts, and formatting.
- name: XML Processing
description: Parse and query XML documents using Beautiful Soup's tree navigation and search capabilities.
- type: Integrations
data:
- name: Requests
description: Python HTTP library used in combination with Beautiful Soup to fetch and parse web pages.
- name: Scrapy
description: Python web crawling framework that can use Beautiful Soup selectors for content extraction.
- name: lxml
description: Fast XML and HTML parsing library used as an alternate parser backend for Beautiful Soup.
- name: html5lib
description: Pure-Python HTML5 parser used with Beautiful Soup for browser-compatible HTML parsing.
- name: Pandas
description: DataFrame library commonly used with Beautiful Soup to convert scraped HTML tables into structured data.
- name: Selenium
description: Browser automation tool used with Beautiful Soup to scrape JavaScript-rendered pages.
maintainers:
- FN: Kin Lane
email: kin@apievangelist.com
Beautiful Soup API — frequently asked questions
Does Beautiful Soup have an API?
Yes. APIs.io lists 1 API from Beautiful Soup, including Beautiful Soup.
How much does the Beautiful Soup API cost?
APIs.io lists 3 pricing plans for Beautiful Soup, with each plan's price, limits and inclusions under Pricing on this page.
Is the Beautiful Soup API ready for AI agents?
Beautiful Soup has a Kin Score of 12.0 out of 100 (emerging) and an Agent Readiness score of 0.6 (human-only), scored by API Evangelist on 2026-11-28.
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.