example.com APIexample.com ↗
Retrieve the title, paragraphs, and all hyperlinks from example.com in structured JSON. One endpoint, zero parameters, clean response fields.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/5a9f9415-490d-4fe9-a7fd-720946ed2c27/get_page_content' \ -H 'X-API-Key: $PARSE_API_KEY'
Fetches the example.com page and returns structured content including the page title, all paragraph texts, and all links with their text and href attributes.
No input parameters required.
{
"type": "object",
"fields": {
"links": "array of objects with text and href keys",
"title": "string - the main heading of the page",
"paragraphs": "array of paragraph text strings"
},
"sample": {
"links": [
{
"href": "https://iana.org/domains/example",
"text": "Learn more"
}
],
"title": "Example Domain",
"paragraphs": [
"This domain is for use in documentation examples without needing permission. Avoid use in operations.",
"Learn more"
]
}
}About the example.com API
The Example.com API exposes 1 endpoint — get_page_content — that returns the page's main heading, all paragraph text strings, and a full array of hyperlinks with their display text and href values. The response delivers 3 top-level fields covering the complete readable content of the page, ready for programmatic use without any client-side parsing.
What the API Returns
The get_page_content endpoint returns a structured JSON object with three fields: title (the main heading string), paragraphs (an ordered array of paragraph text strings), and links (an array of objects each containing a text key and an href key). No input parameters are required — calling the endpoint is sufficient to retrieve the full structured content.
Response Shape
The links array covers every anchor element on the page, giving you both the visible label (text) and the destination (href) for each one. The paragraphs array preserves document order, so the first element corresponds to the first paragraph in the page's content flow. The title field reflects the primary heading, not the HTML <title> tag, so it represents the human-visible page name.
Use and Scope
Because example.com is a minimal, well-known reference page maintained by IANA, the content it exposes is small and stable. The API is well suited for testing parsing pipelines, validating structured-data workflows, or demonstrating link and text extraction against a predictable, canonical source. The response structure is consistent across calls since the source page rarely changes.
- Validate a link-extraction pipeline against the predictable
linksarray from a stable reference page. - Test downstream text-processing code using the
paragraphsarray without managing your own fixture data. - Verify that
hrefvalues in thelinksarray resolve correctly as part of a URL validation workflow. - Use the
titlefield as a known-good string in integration tests for heading-parsing logic. - Demonstrate structured data extraction to stakeholders using a publicly familiar, neutral domain.
- Seed a demo dataset with real hyperlink objects (each with
textandhref) from a live source.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does example.com have an official developer API?+
What does the `links` array in the response actually contain?+
links is an object with exactly two keys: text (the visible anchor label) and href (the destination URL). The array covers every hyperlink present on the page.Does the API expose the HTML `<title>` tag or metadata like description and keywords?+
title field returns the main visible heading, and the API covers paragraphs and links as the other two fields. There is no separate field for the HTML <title> tag, meta description, or other head-element metadata. You can fork this API on Parse and revise it to add those fields.