Lytics Content API

Content APIs for Lytics Content Affinity Engine, allow for adding content into lytics, getting lists of content, and understanding the content and content-topics. **Content Classification** Content classification refers to the Lytics automated process of taking text, URL, image based content and classifying it to attach topics to content documents. * *Content* A list of content (URLs, Email Documents, Uploaded Documents, Campaigns) and the topics, created dates, etc for each. * *ContentTopics* Categories/Topics are applied to each piece of content. * *User Content Affinity* Based on user interacting with content, the topics (derived from the content they interact with) is enriched into their profile. First, an overview of How this content gets here. * *Observed URLs* Once the lytics tag is on a Website, as users use the website any new URL they interact with is collected. * *Crawling* we can proactively crawl a site. * *Email Tools* We see URLs inside of email campaigns and proactively classify those URLs, as well as the emails themselves. * *Uploaded Content* You may upload content to the **Classify**. **Use Cases** *1) User Content Recomendations* Find content for a user based on their content-affinity. *2) Get List of Content* Rich query api to get content. **Examples** ``` # ad-hoc segment scan from content table # get a list of content documents that # - have aspects=article (aspects = article,product, etc) # - has imageurl curl -s -H "Authorization: $LIOKEY" \ -XGET "https://api.lytics.io/api/segment/scan?sortfield=created&limit=10" -d ' FILTER AND ( EXISTS imageurls aspects = "article" ) FROM content ' | jq '.' # Create a content-segment # - uses "ALIAS" as id for create/update, must be unique curl -s -H "Authorization: $LIOKEY" -H "Content-Type: text/plain" \ -XPOST "$LIOAPI/api/segment" -d ' FILTER AND ( EXISTS imageurls aspects = "article" ) FROM content WITH name = "My Articles" ALIAS my_articles ' | jq '.' # grab just those content-docs using named segment scan curl -s -H "Authorization: $LIOKEY" \ -XGET "https://api.lytics.io/api/segment/my_articles/scan?sortfield=created&limit=10" \ | jq '.' # grab recommended articles for single user curl -s -H "Authorization: $LIODATAKEY" \ -XGET "https://api.lytics.io/api/content/recommend/:your_account_id/user/user_id/123456" \ | jq '.' ```

Operations 30

GET /api/content/topic ContentTopics #
GET /api/content/topic/{topic} ContentTopicSummary #
GET /api/content/rollup/{label} ContentTopicRollupSummary #
GET /api/content/topicrollup ContentTopicRollupList #
GET /api/content/topicblocklist Content Topic Blacklist Fetch #
POST /api/content/topicblocklist Content Topic Blacklist Create #
PUT /api/content/topicblocklist Content Topic Blacklist Update #
GET /api/content/topicrollup/{id} ContentTopicRollup Fetch #
POST /api/content/topicrollup/{id} ContentTopicRollup Create #
DELETE /api/content/topicrollup/{id} ContentTopicRollup Delete #
GET /api/content/doc ContentDocument #
GET /api/content/doc/classify Content Classify #
POST /api/content/doc/classify Content Classify #
GET /api/content/recommend/user/{fieldname}/{fieldval} Content Recommendation #
GET /api/content/recommend/segment/{segId} Content Segment Recommendation #
GET /api/content/recommend/{account}/user/{fieldname}/{fieldval} Public Content Recommendation #
GET /api/content/taxonomy Content Taxonomy #
POST /api/content/corpus Content Corpus #
GET /api/content/filter/topic Content Plot #
POST /api/content/doc/{docField}/{docId}/topic/{topicLabel} Topic Add #
DELETE /api/content/doc/{docField}/{docId}/topic/{topicLabel} Topic Remove #
POST /api/content/crawl Content Crawl #
GET /api/content/metrics Content Metrics #
GET /api/content/topic/cluster Content Topic Clusters #
POST /api/content/topic/cluster Create Content Topic Clusters #
GET /api/content/topic/cluster/{topicId} Content Topic Cluster #
POST /content/align Get content alignment with a set of topics #
POST /content/classify Classify a URL #
POST /content/enrich Enrich a URL or text with Topics #
GET /content/opportunity Get content opportunities #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lytics-content-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lytics-content-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lytics Content API
  version: '1.0'
  description: 'Operations tagged Content across 2 of this provider''s published API definitions: lytics-api-v1-openapi.json, lytics-api-v2-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.lytics.io
- url: https://api.lytics.io/v2
tags:


# --- truncated at 32 KB (102 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lytics/refs/heads/main/openapi/lytics-content-api-openapi.yml