---
title: Deploy Crawl4AI with AI on Blossom
url: "/deploy/crawl4ai/"
canonical_url: https://blossom88.com/deploy/crawl4ai/
markdown_url: https://blossom88.com/deploy/crawl4ai.md
summary: Deploy Crawl4AI with AI on Blossom. Convert an authorized web page into Markdown
  through a private HTTPS API.
categories:
- deployment
- web-data
stack:
- Python
- FastAPI
- Playwright
---

# Deploy Crawl4AI with AI on Blossom

[Crawl4AI](https://crawl4ai.com/) fetches and renders web pages, then
extracts content that a tool can use as Markdown. Start with a page you
own or have permission to fetch.

![Crawl4AI returned Markdown from a Blossom deployment guide.](/deploy/assets/images/crawl4ai/extraction.webp)

<details class="optional-reading" markdown="1">
<summary>Deployment setup and commands</summary>

Use the [official Crawl4AI image](https://docs.crawl4ai.com/core/self-hosting/)
on regular App Capacity. Route HTTPS to port `11235` and probe `/health`.
Keep Blossom Account access enabled. Set `CRAWL4AI_API_TOKEN` in a
private runtime variable and send it as a bearer token with API requests.

    blossom profile:show
    blossom app:create --data app.yml
    blossom environment:create --data environment.yml
    blossom service:create --data service.yml
    blossom env_var:push --environment environment-100 --file .env.production
    blossom environment:deploy --id environment-100 --follow

</details>

## Ask Your Agent

> **Ask your AI agent:** Deploy Crawl4AI on Blossom and help me extract Markdown from a page I own.
>
> Follow this guide: https://blossom88.com/deploy/crawl4ai/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## Extract a Page

Send the URL to `POST /crawl` and save the Markdown from the response.
This setup covers one page per request. Use an Environment Access Token
for a client outside the Blossom Account.

## What You Get

- A private HTTPS API for page extraction
- Markdown output that an app or agent can save
- A headless browser for pages that need rendering
