FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
nulo
nuloclickbaitbot
Public
Like
clickbaitbot
Home
Code
3
README.md
H
getContent
H
summarizeContent
Branches
1
Pull requests
Remixes
1
History
Environment variables
2
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
https://nulo--2b8a5f201aaf11f094a0569c3dd06744.web.val.run
README.md

URL to Markdown API

This Val Town API fetches content from a URL, converts it to markdown, and caches the results for improved performance.

Features

  • Converts web content to clean markdown format
  • Caches results to reduce API calls and improve response time
  • Uses Firecrawl API for reliable web scraping
  • Focuses on main content, filtering out ads and clutter

Endpoints

GET /content/:url

Fetches content from the specified URL and returns it as markdown.

Parameters:

  • :url - URL-encoded URL of the page to fetch

Example:

GET /content/https%3A%2F%2Fwww.example.com

Response:

  • Content-Type: text/markdown
  • Body: Markdown content of the requested URL

Setup Requirements

This API requires a Firecrawl API token to be set as an environment variable:

FIRECRAWL_API_TOKEN=your_api_token_here

Caching

Results are cached for 24 hours to improve performance and reduce API calls to Firecrawl.

Implementation Details

  • Built with Hono framework
  • Uses Val Town's blob storage for caching
  • Integrates with Firecrawl API for web scraping
  • Returns clean markdown content
HTTP
  • getContent
    nulo--2b…44.web.val.run
  • summarizeContent
    nulo--e1…44.web.val.run
Code
README.md
H
getContent
H
summarizeContent
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.