Discover/example.com API
live

example.com APIexample.com

Retrieve the title, paragraphs, and all hyperlinks from example.com in structured JSON. One endpoint, zero parameters, clean response fields.

Endpoints
1
Updated
3h ago
Try it

No input parameters required.

api.parse.bot/scraper/5a9f9415-490d-4fe9-a7fd-720946ed2c27/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/5a9f9415-490d-4fe9-a7fd-720946ed2c27/get_page_content' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 1 totalclick to expand

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.

Input

No input parameters required.

Response
{
  "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.

Common use cases
  • Validate a link-extraction pipeline against the predictable links array from a stable reference page.
  • Test downstream text-processing code using the paragraphs array without managing your own fixture data.
  • Verify that href values in the links array resolve correctly as part of a URL validation workflow.
  • Use the title field 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 text and href) from a live source.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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.

Frequently asked questions
Does example.com have an official developer API?+
No. Example.com is a static reference page maintained by IANA (iana.org) for illustrative use in documentation. It has no official developer API or data service.
What does the `links` array in the response actually contain?+
Each element in 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?+
Not currently. The 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.
Is the content from example.com likely to change between calls?+
Rarely. The page is a static IANA-maintained reference document that changes infrequently. However, the API always retrieves the current live version, so any official updates to the page will be reflected in the response.
Can I retrieve content from other IANA or IETF reference pages with this API?+
Not currently. The API is scoped specifically to example.com. You can fork it on Parse and revise the endpoint to target other reference pages or domains.
Page content last updated . Spec covers 1 endpoint from example.com.
Example.com API – Structured Page Content · Parse