# getcontent: Get Content

> getcontent (Get Content) is a 1001fx API function in the group Data & JSON: POST https://api.1001fx.com/data/getcontent, 4 credits per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

Gets the content of a URL in a structured way, with special handling for YouTube videos, tweets and LinkedIn posts.

- Group: Data & JSON
- Endpoint: `POST https://api.1001fx.com/data/getcontent`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: application/json
- Credits: 4 credits per call
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/getcontent

## Parameters

- `url` (string, required) – Website: Website to be scraped.

## Use cases

- Read the text of a web page and summarize it with askai
- Collect the details of YouTube videos, tweets or LinkedIn posts that are shared in a channel
- Save the content of bookmarked links to a knowledge base

## Example: YouTube video

```bash
curl -X POST 'https://api.1001fx.com/data/getcontent' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://youtube.com/watch?v=kJQP7kiw5Fk"}'
```

## FAQ

**Which sites are handled specially?**

YouTube videos, tweets and LinkedIn posts get dedicated handling. Other URLs are read as regular web pages.

**What do I need to pass?**

Only the URL of the page in the field url.
