This Val Town API fetches content from a URL, converts it to markdown, and caches the results for improved performance.
Fetches content from the specified URL and returns it as markdown.
Parameters:
:url - URL-encoded URL of the page to fetchExample:
GET /content/https%3A%2F%2Fwww.example.com
Response:
This API requires a Firecrawl API token to be set as an environment variable:
FIRECRAWL_API_TOKEN=your_api_token_here
Results are cached for 24 hours to improve performance and reduce API calls to Firecrawl.