Skip to content
Browse all functions

Get Content

data/getcontent

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.

4 credits per callHTTP APIn8nMake

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

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

Try it in the 1001fx app

Run getcontent in your browser with your API key – fill the form, click Run and get the answer or the file.

getcontent in the 1001fx app: the form with example values
Get Content in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/data/getcontent
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
application/json

Parameters

  • urlstringrequired

    Website to be scraped.

    Example:
    https://youtube.com/watch?v=kJQP7kiw5Fk&pp=ygUJZGVzcGFjaXRv

Examples

YouTube video

Title, description and image of a YouTube URL.

Input

Expects a json body
{
  "url": "https://youtube.com/watch?v=kJQP7kiw5Fk"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
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"}'

Twitter post

Text and metadata of a Twitter/X URL.

Input

Expects a json body
{
  "url": "https://twitter.com/pelaseyed/status/1660575712519020544"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/data/getcontent' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://twitter.com/pelaseyed/status/1660575712519020544"}'

LinkedIn post

Text and metadata of a LinkedIn post URL.

Input

Expects a json body
{
  "url": "https://linkedin.com/posts/nia-k%C3%BCnzer-35b449247_3nach9-giovannidilorenzo-judithrakers-activity-7076638796460515328-Hpgm?utm_source=share&utm_medium=member_desktop"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/data/getcontent' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"https://linkedin.com/posts/nia-k%C3%BCnzer-35b449247_3nach9-giovannidilorenzo-judithrakers-activity-7076638796460515328-Hpgm?utm_source=share&utm_medium=member_desktop"}'

Frequently asked questions

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.

Try getcontent now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.019.06.2023created
Ask 1001fx