Tool detail
glim.sh
Fetches a URL and returns clean extracted content as markdown, raw HTML or a structured JSON blob, optionally scoped to a CSS/anchor selector.
Categories: Web scraping
Use when
- get clean article text from a web page
- pull just one section of a docs page by its anchor
- extract structured data from a TikTok or Pinterest page as JSON
Not for
- not a search engine — requires a specific URL, not a query
- not for pages behind login or paywalls
Inputs
POST JSON body: { url: string (required), format: markdown|html|json (default markdown), selector: string (optional) }
Admitted input schema
{
"type": "object",
"properties": {
"format": {
"type": "string",
"minLength": 0,
"maxLength": 4096,
"enum": [
"markdown",
"html",
"json"
],
"description": "Output format. 'markdown' (default) clean article text; 'html' raw cleaned HTML; 'json' the structured SSR blob (TikTok, Pinterest, etc.) instead of article text.",
"default": "markdown"
},
"selector": {
"type": "string",
"minLength": 0,
"maxLength": 500,
"description": "CSS selector to scope the result. An anchor-id selector (e.g. a docs anchor like '#usage') that lands on a heading expands to the heading's whole section, up to the next same-or-higher-level heading; other selectors return the matched elements themselves."
},
"url": {
"type": "string",
"minLength": 0,
"maxLength": 2048,
"description": "URL to fetch"
}
},
"required": [
"url"
],
"additionalProperties": false
}Endpoint
- Method
POST- URL
https://glim.sh/api/v1/web/fetch
Payment
- Protocol
- x402
- Listed price
- 0.002 USDC per call on Solana
- Payment method
- exact
- Network
- solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
- Asset
- EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.
Source
- Directory
- Coinbase x402 Bazaar
- Record
- POST https://glim.sh/api/v1/web/fetch
- Retrieved
- 2026-09-30T20:37:07.382Z
- Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524- Catalog built
- 2026-09-30T22:31:58.034Z