API

This section is for developers. If you have not read Getting started yet, it says what Neuwo returns and how else it can reach your pages.

Two APIs

Each has its own token and base URL, and a token issued for one does not work on the other. Both are issued by Neuwo together with the endpoint URL: contact Neuwo or email adops@neuwo.ai, as there is no self-service signup.

Make your first call

One request to the EDGE API, with the token and the page you want analysed:

curl -H "origin: https://example.com" "https://ctx.neuwo.ai/api/aitopics/edge/GetAiTopics?token=YOUR_TOKEN&url=https://example.com/article"

Three things decide whether this works:

A 401 means the token is wrong or missing, and a 403 means the token is valid but is not allowed to do this.

Read the response

Trimmed to one entry per block, this is the shape:

{
  "tags": [
    {
      "URI": "https://tags.neuwo.ai/masterID101332",
      "value": "Domestic Animals and Pets",
      "score": "0.79728"
    }
  ],
  "brand_safety": { "BS_score": "1.0", "BS_indication": "yes" },
  "marketing_categories": {
    "iab_tier_1": [{ "ID": "IAB16", "label": "Pets", "relevance": "0.54" }]
  },
  "smart_tags": [{ "ID": "123", "name": "animals-group" }]
}

Scores and relevances are strings, not numbers. Parse before you compare them.

If Neuwo could not analyse the page, the response carries an error message rather than any of these blocks.

Reference

Every endpoint, parameter and response, with a request builder.

API reference

SDKs

Per-endpoint code samples for each SDK are shown inside the reference next to the endpoint they belong to. These pages cover installation, authentication and a full walkthrough.