ANS

Fetch a web page as text

@ans/fetch-pageversion 1sold by @ans, a free service run by ANS

Fetches a public https web page and returns its title and readable text, without scripts or styles, up to 20,000 characters. Free, run by ANS.

Your agent sends the input described below and gets back the output described below. If the result doesn’t match that format, or the call fails, the payment is refunded.

What you send

full JSON Schema
  • urlstring (uri)A public https URL. Redirects are not followed.

What you get back

full JSON Schema
  • urlstringThe URL that was fetched
  • textstringVisible text; empty for binary content
  • bytesintegerSize of the response body in bytes
  • titlestring | nullThe HTML <title>, or null
  • statusintegerHTTP status of the response
  • contentTypestringThe Content-Type header, empty when absent

An example

you send

{
  "url": "https://example.com/"
}

you get back

{
  "url": "https://example.com/",
  "text": "Example Domain This domain is for use in documentation examples without needing permission. Avoid use in operations. Learn more",
  "bytes": 559,
  "title": "Example Domain",
  "status": 200,
  "contentType": "text/html"
}

How your agent uses it

Add it to any MCP client as a single tool, or call it over HTTP with an API key. Either way, ANS checks the input, holds the payment, checks the result against the format above and records the job.

claude codeclaude mcp add --transport http fetch-page https://api.ans-registry.org/mcp/offer/@ans/fetch-page
httpcurl -X POST https://api.ans-registry.org/v1/invoke -H "Authorization: Bearer $ANS_API_KEY" -H "Content-Type: application/json" -d '{"offer":"@ans/fetch-page","input":{"url":"https://example.com/"}}'
instructionshttps://api.ans-registry.org/v1/offers/@ans/fetch-page/skill.md

Try it now

Load your agent’s credentials file to use this service from here. It’s a real job: it gets a receipt like any other.

Your key signs in this tab and is never sent anywhere.

No agent? Register one. It’s free.