Other API's Documentation

API Base URL

https://api.cognifyapi.com

Authentication header: x-cognifyapi-key

API key: YOUR_COGNIFY_API_KEY

Overview

Extract website content, generate screenshots, and convert RSS feeds to JSON.

All requests use HTTPS and require the x-cognifyapi-key header. Replace the placeholder with your key from the CognifyAPI Studio. For interactive examples, visit the interactive Other API's page.

1. Website Content

Extract readable content from a website URL.

GET/website-content?url=https%3A%2F%2Fedition.cnn.com%2F2026%2F10%2F21%2Fpolitics%2Ftrump-corruption-midterms&trim=true

Query parameters

ParameterExample value
urlhttps://edition.cnn.com/2026/10/21/politics/trump-corruption-midterms
trimtrue

Request example

bash
curl --request GET \
  --url 'https://api.cognifyapi.com/website-content?url=https%3A%2F%2Fedition.cnn.com%2F2026%2F10%2F21%2Fpolitics%2Ftrump-corruption-midterms&trim=true' \
  --header 'x-cognifyapi-key: YOUR_COGNIFY_API_KEY'

Response Example

json
{
  "status": "success",
  "imgUrl": "https://media.cnn.com/api/v1/images/stellar/prod/gettyimages-2299496308.jpg?c=16x9&q=w_800,c_fill",
  "url": "https://edition.cnn.com/2026/10/21/politics/trump-corruption-midterms",
  "result": "Article content about voter concerns over corruption ahead of the 2026 midterm elections (truncated)."
}

2. Screenshot

Capture a webpage as a PDF document.

GET/screenshot?url=https%3A%2F%2Fedition.cnn.com%2F2026%2F10%2F21%2Fpolitics%2Ftrump-corruption-midterms&format=pdf

Query parameters

ParameterExample value
urlhttps://edition.cnn.com/2026/10/21/politics/trump-corruption-midterms
formatpdf

Request example

bash
curl --request GET \
  --url 'https://api.cognifyapi.com/screenshot?url=https%3A%2F%2Fedition.cnn.com%2F2026%2F10%2F21%2Fpolitics%2Ftrump-corruption-midterms&format=pdf' \
  --header 'x-cognifyapi-key: YOUR_COGNIFY_API_KEY'

Response Example

This endpoint returns a PDF document rather than a JSON response body.

3. RSS to JSON

Convert an RSS feed into structured JSON.

GET/rss-to-json?feedUrl=https%3A%2F%2Ftrends.google.com%2Ftrending%2Frss%3Fgeo%3DUS

Query parameters

ParameterExample value
feedUrlhttps://trends.google.com/trending/rss?geo=US

Request example

bash
curl --request GET \
  --url 'https://api.cognifyapi.com/rss-to-json?feedUrl=https%3A%2F%2Ftrends.google.com%2Ftrending%2Frss%3Fgeo%3DUS' \
  --header 'x-cognifyapi-key: YOUR_COGNIFY_API_KEY'

Response Example

json
{
  "status": "success",
  "query": "https://trends.google.com/trending/rss?geo=US",
  "result": {
    "?xml": {
      "version": 1,
      "encoding": "UTF-8",
      "standalone": "yes"
    },
    "rss": {
      "channel": {
        "title": "Daily Search Trends",
        "description": "Recent searches",
        "link": "https://trends.google.com/trending/rss?geo=US",
        "atom:link": {
          "href": "https://trends.google.com/trending/rss?geo=US",
          "rel": "self",
          "type": "application/rss+xml"
        },
        "item": [
          {
            "title": "bangladesh vs south africa",
            "ht:approx_traffic": "100+",
            "description": "",
            "link": "https://trends.google.com/trending/rss?geo=US",
            "pubDate": "Thu, 19 Nov 2026 01:40:00 -0800",
            "ht:picture": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS1J4jRynajrdgJmMJH9EA7ZGJyTOzP9Uymt7WBqCTSYvZzPIBo1jKcJZPxO70",
            "ht:picture_source": "Cricinfo",
            "ht:news_item": [
              {
                "ht:news_item_title": "Bad light stops play early with Bangladesh under the pump",
                "ht:news_item_snippet": "",
                "ht:news_item_url": "https://www.cricinfo.com/series/bangladesh-in-south-africa-2026-27-1525637/south-africa-vs-bangladesh-1st-test-1525662/match-report",
                "ht:news_item_picture": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS1J4jRynajrdgJmMJH9EA7ZGJyTOzP9Uymt7WBqCTSYvZzPIBo1jKcJZPxO70",
                "ht:news_item_source": "Cricinfo"
              }
            ]
          }
        ]
      },
      "xmlns:atom": "http://www.w3.org/2005/Atom",
      "xmlns:ht": "https://trends.google.com/trending/rss",
      "version": 2
    }
  }
}

Authentication

Include your API key in every request using the x-cognifyapi-key request header.

Errors and limits

Check the HTTP status and response body when a request fails. Invalid parameters can return a 400 response; exceeding your plan's rate limit can return 429. Review your plan and usage in CognifyAPI Studio.