Developers/Retrieve a webpage

retrieveBY OPTIVIEW

API reference

Retrieve a webpage

Retrieve fetches an eligible public webpage and converts its HTML to readable Markdown. The result also records what the service received from the source.

POST/v1/retrieve

Request

Use a service key with the retrieve scope and include an Idempotency-Key header. Send only the url field—not html or product.

Field Type Required Description
url string Yes Public HTTPS page URL, up to 2,048 characters. No credentials, custom port or fragment.

curlCopy

curl --request POST 'https://api.optiview.ai/v1/retrieve' \
  --header "Authorization: Bearer $OPTIVIEW_API_KEY" \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: retrieve-example-001' \
  --data '{"url":"https://optiview.ai/products/parse/"}'

Supported URLs and acquisition

The paid API accepts public HTTPS URLs, with or without www, and ordinary query parameters. It preserves the requested hostname and query string, subject to redirects controlled by the website. URLs containing credentials or signed parameters such as token, api_key or signature are rejected. Include https:// explicitly; if you omit the scheme, the API assumes HTTPS.

The paid API requires HTTPS. The free website demos have a separate URL entry flow that can accept HTTP. Demo behavior is not the API contract.

Retrieve checks that the destination is public and permitted by supported publisher crawl policies. It follows up to three eligible redirects and processes publicly accessible UTF-8 HTML without signing in. Robots-policy checks are bounded within the overall 25-second acquisition and processing deadline.

Response and charge

The API returns a job record, not Markdown alone. A direct request returns HTTP 200 for a completed job and HTTP 202 for queued or running work. A failed job can also return HTTP 200, so always check status before reading result.

Only status: succeeded with a result is usable output. HTTP success alone does not mean processing succeeded.

For complete state and result schemas, see Jobs and results. Use the original service application to read its job.

A successful Retrieve job consumes 5 credits. Failed processing consumes none. Its result includes requested_url, the final url, observed response metadata, redirect history, Markdown and extraction details.

Selected retrieval source fieldsCopy

{
  "source": {
    "basis": "anonymous_http_response",
    "status": 200,
    "content_type": "text/html; charset=utf-8",
    "redirects": [],
    "scheme_retries": [],
    "origin_freshness_verified": false,
    "cookies_forwarded": false,
    "cookies_retained": false
  },
  "extraction": {
    "dynamic_rendering": "not_executed"
  },
  "narrative_graph": {
    "status": "not_requested"
  }
}

This example includes selected fields only. The timestamp and source hash describe the response Optiview received. They do not prove that the origin content was current or that its claims were true.

When a source cannot be retrieved

Retrieve does not execute JavaScript, sign in, retain cookies, bypass bot challenges, access private networks or return a substitute page. It rejects unsupported content types/charsets, cookie-setting or private responses, publisher restrictions and unsafe redirects. A normal browser may show a page that this anonymous static fetch cannot process.

Do not keep retrying a page that has refused access. If you already have HTML you are authorized to process, Parse is the appropriate input path. See error codes for source-specific failures.

Additional source context

Your website was built for people. Optiview makes it ready for AI, too.

Get started

Overview · Quickstart · Authentication

API reference

Parse HTML · Jobs and results · Usage and credits · Errors and retries · Limits and retention

Integrations

JavaScript · Python · MCP for agents · OpenAPI specification · Changelog

Try Optiview

See my site with Optiview · Run your free AI Audit

Explore

Publish · Parse · Retrieve · Pricing

Learn

Guides · Developer docs · Research & thinking · Experiments & methods · AI Audit · AI agent directory · FAQ

Company

About Optiview · Agencies · Contact · Privacy · Billing terms

Additional page links


Published brand narrative

Site-wide brand information

Who we are

Optiview — Parse, Retrieve and Publish for AI

Optiview helps businesses and developers make website information easier for AI to use. Parse converts supplied HTML into clean Markdown and source metadata. Retrieve fetches an eligible public HTTPS webpage and prepares its content. Publish helps a verified business prepare its own website content and make approved Narrative Graph context available through a supported connection.

Parse and Retrieve use application keys and a prepaid developer wallet. Publish has separate website setup, ownership checks and a subscription. Optiview does not control whether an outside AI service discovers, uses or cites the resulting content.

Applies to: Optiview

Why we matter

A clearer source, from website content to business context

Webpages mix useful information with navigation, layout and application code. Businesses may also have important qualifications, answers and context that are not clearly published.

Optiview gives developers a way to prepare source content for their applications, and gives businesses a way to publish the context their teams approve. Your application chooses how to use Parse and Retrieve results. Your business controls what it publishes through Publish.

Clearer publishing makes information available; it does not determine an AI system’s answer. Each outside service chooses its own retrieval, recommendations and citations.

What we offer

Three products, with separate jobs and clear pricing

Developer credits do not purchase Publish subscriptions. Parse and Retrieve do not add a customer’s private Narrative Graph to arbitrary third-party pages. See https://optiview.ai/pricing/ and https://optiview.ai/developers/ for the current offer and limits.

Why trust us

Inspect the output and understand what the evidence establishes

Developers can inspect the prepared Markdown, job status, source metadata, processing warnings and credit ledger. Retrieve records the public source response it observed; Parse identifies supplied HTML rather than claiming to verify the current origin.

Publish administrators can review parser output, the combined published-output preview, source checks and publication history. A preview is separate from a recorded live delivery. Saved edits remain separate from the active publication until explicitly published.

Our experiment pages contain selected first-party AI conversations and source comparisons. Delivery records establish what was served, not downstream ingestion, recommendations, citations or revenue. Observed language matches do not establish causation or a consistent visibility improvement. Explore the evidence and limitations at https://optiview.ai/proof/.

Helpful knowledge

Common questions about the three products

Which product should I use? Use Parse when you already have HTML. Use Retrieve when you need Optiview to fetch one eligible public page first. Use Publish when your business wants to prepare its verified website and publish approved context.

Do Parse and Retrieve require website ownership or DNS changes? No website connection is needed for these developer products. You remain responsible for source rights and permitted downstream use. Public availability does not grant a reuse license.

How do developer accounts and keys work? Create a developer workspace and save the personal sign-in key and offline recovery code. Create scoped service keys for server-side applications. Email is an unverified contact identifier, not account-ownership proof or an email-only recovery method. Keep all credentials private.

Can my agent use Optiview? The authenticated developer API returns prepared content for your application or model. A downloadable JavaScript client and local MCP adapter are available. Your host must authorize sources and any credit expenditure. Compatibility does not establish adoption or a partnership with an AI provider.

Does the API include my private Narrative Graph? Parse and Retrieve are source-only. Verified website publishing and approved publisher context belong to the separate Publish workflow.

Does Publish replace our website or CMS? No. Your website stays in its existing system. Your web team establishes and tests a supported connection. Your team reviews and explicitly publishes any Narrative Graph additions. Ordinary visitors retain the normal website experience.

Does every AI tool get the prepared version? No. Delivery depends on the website connection, source eligibility and the request. Some tools explicitly request Markdown; supported AI requests may also receive prepared Markdown or HTML through eligible delivery paths. Traditional search crawlers retain the original website response. A claimed tool name does not prove the requester’s identity.

Does the demo publish or save to our workspace? No. The public demo is a separate preview. Its AI-generated examples require review and do not transfer automatically into an approved publication.

Will Optiview guarantee citations or recommendations? No. Optiview prepares and publishes sources. Outside AI services choose what to retrieve, use and cite.

What to do next

Choose your starting point

Already using Publish? Review your Narrative Graph, publish approved changes explicitly, inspect the combined source in Markdown and check recorded delivery in Activity. Keep your existing visibility tools to study downstream AI answers.