Hopp til innholdet
Alle sidene i docs

API

Umtal API: the insight package (v1)

Umtal measures how a business is described in the answers from ChatGPT, Gemini, Claude and Google's AI Overview. With an API key, another system, for example a tool that writes content for the website, can fetch what Umtal knows about the business and use it in its own work. It can also report which pages it published on the business's website, and Umtal measures them. That is the only thing the API can write.

Every endpoint and field is also in the API reference, where you can try the calls with your key. The OpenAPI file is at umtal.no/umtal-api.json.

The key

The call

GET https://umtal.no/api/v1/innsikt
Authorization: Bearer umtal_…
curl -H "Authorization: Bearer $UMTAL_KEY" https://umtal.no/api/v1/innsikt

The response

JSON. The fields below are fixed in version 1: new fields may come, none is removed or renamed without a v2.

FieldWhat it is
version"1"
generatedAtWhen the package was made (ISO 8601).
businessname, domain, plan, industry (what the business does, in its own words), segment (Umtal's code for its segment), and from the website: sells (yes/no), buyers (private, business, both or none) and typicalOffer (unit, price, currency, basis: one typical thing the business sells, with a typical price). Any of them can be null.
marketsThe markets measured: id, locale (for example nb-NO), label, primary.
latestMeasurementrunId and measuredAt of the latest measurement, or null before the first.
visibilityThe latest measurement: mentioned of answers answers name the business, sharePct, and interval (95 % uncertainty, low–high in percent). byEngine gives the same per AI. excludingBranded gives the same without the questions that name the business itself (questions: how many questions are left), or null when there are no such questions.
trendmeasurements: the latest measurements, oldest first, with the same figures. changeOutsideNoise: whether the change from the previous measurement is larger than chance (true/false, null without numbers). note: «for tidlig å si» (too early to say) with fewer than three measurements. Each measurement also has questions (how many questions were read) and samplesPerQuestion (how many times each question was asked each AI). sizeChanged: true when the latest measurement has another size than the one before. Then compare the shares, never the counts.
gapsThe gaps: the questions where no answer in the latest measurement names the business. Per question: question, market, now and before (the figures above), byEngine, branded (true when the question names the business itself, for example «Hva er Namuda?»), namedInstead (who the answers name instead, with the number of answers) and citedPages (the pages the answers build on).
strengthsThe questions where the business is named, with the same fields.
competitorsWho the answers name most: name, isTrackedCompetitor, questions (number of questions), engines.
criteria.missingWhat the answers praise others for and never the business: criterion, questions, engines, sources, examples. This is what is worth writing about.
criteria.ownWhat the answers praise the business for.
criteria.movementsCriteria and sources growing or falling over the latest measurements (real: true when the change is outside the noise).
sourcesThe domains the AI answers cite most in the latest measurement, with counts.
adviceThe advice Umtal has given: title, why, details, status (new, accepted, done), completedAt, market.
risingQuestionsQuestions Umtal added because more people have started asking them: question, why, searchVolume.
measureWhich figure the app shows: recommended or, where the answers could not be judged for it, mentioned.
gaps[].whyOthersWin, strengths[].whyOthersWinWhy the answers chose others where the business was not recommended: business, claim (the reason, in short), criterion, source (the site the answer leaned on), engine, and excerpt: the sentence in the answer that names the other business, never the whole answer. Up to three per question.
advice[] (newer fields)questionIds (the questions the advice is about, the same id as promptId in gaps/strengths), sentAt, brainMoveId, draft (the draft Umtal put on the website: platform, published, publishedAt, publishedUrl, gone) and effect (measured after the advice was done: verdict worked/no_difference/too_early, measure, difference, and the figures before and after for the questions the advice is about and for the control questions).
factsWhat the business has told Umtal: site (facts from the website and the register: address, phone, opening hours, price level), ownerAnswers (the owner's answers to questions in the texts), openQuestions (questions in the texts not answered yet), voice (form of address, «vi» or «jeg», formality, sentence length, its own words, example sentences, tone) and wishes (the owner's standing wishes for every text). Use this instead of guessing.
brainMoveThis week's plan from Umtal: title, whyNow, insight, questionIds and targets, competitor, criteriaToOwn, format, angle, outline, sourcesToEarn, tasteTest (in how many of Umtal's own tests the assistant recommended the business with the text) and adviceIds. basedOnMeasurement (runId, measuredAt): the measurement the plan builds on, and the figures in whyNow and targets are from it. newerMeasurementSince: true when a newer measurement has come since. null before the first plan.
nextMeasurementAtWhen Umtal measures next (ISO 8601), or null. Fetch again after it.
publicationsThe pages you reported (see Reporting pages you published), with the figures before and after.
changesOnly with ?since=: newMeasurement, adviceDone, adviceSent (ids) and newBrainMove.

Every share also has the «recommended» fields recommended, recommendedPct and recommendedInterval (null where the answers could not be judged), and trend.recommendedChangeOutsideNoise. competitors[].recommended is in how many answers the competitor was recommended.

The full answer texts from the AIs are not included, only the sentence that gives the reason for a choice (whyOthersWin[].excerpt). The numbers count only answers that were read, from the regular measurements, never from test measurements.

Reading the numbers

Reporting pages you published

POST https://umtal.no/api/v1/publiseringer
Authorization: Bearer umtal_…
Content-Type: application/json

{
  "url": "https://example.no/the-page-you-published",
  "questionIds": [123, 456],
  "adviceId": 789,
  "title": "The page's title",
  "publishedAt": "2026-11-24T08:00:00Z"
}

GET /v1/innsikt then has publications: each page with before and after (its questions' figures in the last measurement before the page went out, and in the newest one after), citedInAnswers (how many answers have cited the page since), and status: too_early until there is a measurement after the page, then measured. It is before and after, not proof of cause.

StatuscodeMeans
400invalid_body / invalid_published_aturl is missing, or publishedAt is not a date or lies in the future.
422not_own_siteThe address is not on the business's website.
422unknown_questions / unknown_adviceThe id does not exist for this business.

Errors

StatuscodeMeans
400invalid_sincesince is not an ISO 8601 date and time.
401invalid_keyNo key, an unknown key or a deleted key.
403plan_requiredThe business is on Gratis (free).
429rate_limitedMore than 60 calls in the last hour.
500unavailableThe package could not be made. Try again in a minute.

Every error is JSON with error (a sentence for a person) and code (a stable code for a program).

Support

Write to contact@umtal.no. The two founders, Vegard and Benjamin, answer themselves, in English or Norwegian.