Get content alignment with a set of topics
POST
https://api.lytics.io/v2/content/alignGet content alignment with a set of topics
Sample Request
{
"topics": {
"property1": 0,
"property2": 0
}
}Sample Response
Status|200 OK
{
"_meta": {},
"data": {
"alignment": {
"property1": 0,
"property2": 0
}
},
"request_id": "string",
"status": 0
}Classify a URL
POST
https://api.lytics.io/v2/content/classifyThe Classification API classifies a URL and returns all the extracted content and steps taken to classify the content.
Sample Response
Status|200 OK
{
"_meta": {},
"data": {
"content": {},
"steps": [
null
]
},
"request_id": "string",
"status": 0
}Enrich a URL or text with Topics
POST
https://api.lytics.io/v2/content/enrichEnrich a URL or text with Topics and Inferred Topics
Sample Response
Status|200 OK
{
"_meta": {},
"data": {
"inferred_topics": {
"property1": 0,
"property2": 0
},
"input": "string",
"topics": {
"property1": 0,
"property2": 0
}
},
"request_id": "string",
"status": 0
}Get content opportunities
GET
https://api.lytics.io/v2/content/opportunityGet the saved content opportunity metrics for the current account. Optionally provide a date to fetch the snapshot for that UTC day.
Sample Response
Status|200 OK
{
"_meta": {},
"data": {
"topics": [
{
"context_layer": "string",
"dimensions": [
{
"label": "string",
"subject": "string",
"value": 0
}
],
"segments": [
"string"
],
"topic": "string"
}
]
},
"request_id": "string",
"status": 0
}