Spaces:
Sleeping
Sleeping
File size: 743 Bytes
060a692 59bbc6d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
---
title: MyCrawl4ai
emoji: π
colorFrom: red
colorTo: blue
sdk: docker
pinned: false
short_description: my Crawl4ai server
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Crawl4AI API
This is a FastAPI-based web API for Crawl4AI, a web scraping service.
## API Endpoints
### POST /crawl
Crawls a specified URL and returns the content in markdown format.
Example request:
```json
{
"url": "https://example.com",
"cache_mode": "ENABLED",
"excluded_tags": ["nav", "footer", "aside"],
"remove_overlay_elements": true
}
```
### GET /
Returns basic information about the API.
## Documentation
- Interactive API documentation: `/docs`
- ReDoc documentation: `/redoc` |