Skip to content
OhSpotted
Documentation

API documentation

Follow LinkedIn profiles, company pages and jobs, and read what changed on them, from your code with the REST API or from your AI assistant with the MCP server. One API key works for both. Pages are read once a day: nothing here is real time.

Quickstart

  1. Create an account and an API key in your dashboard (it starts with spt_).
  2. Send the address of a LinkedIn profile, company page or job to POST /targets. It is read with the next daily pass.
  3. Read GET /targets/{id}/signals after the next daily read: a signal is what changed between two reads.
1. Follow a page
curl -X POST "https://www.ohspotted.com/api/v1/targets" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/in/jane-doe"}'
201 Created
{
  "id": "5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1",
  "kind": "profile",
  "url": "https://www.linkedin.com/in/jane-doe",
  "name": "Jane Doe",
  "headline": "Head of Design at Globex",
  "status": "active",
  "pause_reason": null,
  "muted": false,
  "waiting_first_read": false,
  "unavailable": false,
  "unread_signals": 1,
  "latest_signal": {
    "id": "0b8f6a1e-3c1d-4f43-8f5e-7a9a2d6c4e10",
    "target_id": "5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1",
    "target_name": "Jane Doe",
    "target_url": "https://www.linkedin.com/in/jane-doe",
    "kind": "position_changed",
    "importance": 3,
    "before": "Designer at Acme",
    "after": "Head of Design at Globex",
    "link": "https://www.linkedin.com/in/jane-doe",
    "occurred_at": "2026-12-01T07:12:00.000Z",
    "unread": true
  },
  "last_read_at": "2026-12-01T07:00:00.000Z",
  "added_at": "2026-11-20T09:30:00.000Z"
}
2. Read what changed
curl "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1/signals?limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
200 OK
{
  "signals": [
    {
      "id": "0b8f6a1e-3c1d-4f43-8f5e-7a9a2d6c4e10",
      "target_id": "5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1",
      "target_name": "Jane Doe",
      "target_url": "https://www.linkedin.com/in/jane-doe",
      "kind": "position_changed",
      "importance": 3,
      "before": "Designer at Acme",
      "after": "Head of Design at Globex",
      "link": "https://www.linkedin.com/in/jane-doe",
      "occurred_at": "2026-12-01T07:12:00.000Z",
      "unread": true
    }
  ],
  "unread_total": 1
}

Authentication

Every request carries your personal API key as a Bearer token. Create one key per tool or script in your dashboard: the key is shown once, and revoking it stops it right away. Keep keys on your server, never in browser code.

Header
Authorization: Bearer YOUR_API_KEY

Base URL: https://www.ohspotted.com/api/v1. Requests and responses are JSON. A missing or invalid key returns 401 with the code unauthorized.

Endpoints

Parameters, responses and code samples for each endpoint are in the API reference, where you can also try requests with your key.

Examples

One or more ready-to-run requests for each endpoint, with curl and with JavaScript (fetch, in Node.js 18 or later and in browsers). Replace YOUR_API_KEY with your key, and the id in the path with a target id. Pages are read once a day: a page you just followed has no signal until its next daily read.

get/usageGet your plan and credits

Your plan and credits left

curl
curl "https://www.ohspotted.com/api/v1/usage" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/usage", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

get/targetsList the pages you follow

The first 20 pages of your list

curl
curl "https://www.ohspotted.com/api/v1/targets?limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets?limit=20", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data.targets);

Is this page already on your list?

curl
curl "https://www.ohspotted.com/api/v1/targets?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fjane-doe" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fjane-doe", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data.targets[0] ?? null);

Only the company pages

curl
curl "https://www.ohspotted.com/api/v1/targets?kind=company&page=1" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets?kind=company&page=1", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data.targets);

post/targetsFollow a page

Follow a profile

curl
curl -X POST "https://www.ohspotted.com/api/v1/targets" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.linkedin.com/in/jane-doe"}'
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"url":"https://www.linkedin.com/in/jane-doe"}),
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

get/targets/{id}Get a page you follow

One page, with its latest signal

curl
curl "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

patch/targets/{id}Pause, resume, mute or mark a page as seen

Pause a page

curl
curl -X PATCH "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"paused":true}'
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"paused":true}),
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

Leave a page out of the daily email

curl
curl -X PATCH "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"muted":true}'
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"muted":true}),
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

Mark what was found on a page as seen

curl
curl -X PATCH "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"seen":true}'
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1", {
  method: "PATCH",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"seen":true}),
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

delete/targets/{id}Stop following a page

Stop following a page

curl
curl -X DELETE "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

get/targets/{id}/signalsRead what changed on a page

The latest changes on a page

curl
curl "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1/signals?limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1/signals?limit=10", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data.signals);

Only what you haven't seen

curl
curl "https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1/signals?unread=1" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/targets/5c1f2f7e-8f0b-4c7e-9a4d-0e51c1a6d2f1/signals?unread=1", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data.signals);

get/signalsRead what changed on all your pages

What changed on your whole list

curl
curl "https://www.ohspotted.com/api/v1/signals?limit=20" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/signals?limit=20", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data.signals);

Only what you haven't seen

curl
curl "https://www.ohspotted.com/api/v1/signals?unread=1" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/signals?unread=1", {
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data.unread_total);

post/signals/seenMark everything as seen

Mark everything as seen

curl
curl -X POST "https://www.ohspotted.com/api/v1/signals/seen" \
  -H "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch("https://www.ohspotted.com/api/v1/signals/seen", {
  method: "POST",
  headers: {
    Authorization: "Bearer YOUR_API_KEY",
  },
});
const data = await response.json();
if (!response.ok) throw new Error(`${data.error.code}: ${data.error.message}`);
console.log(data);

Targets and signals

A target is a page on your list. A signal is a change found on it between two daily reads, with what it was (before) and what it became (after). Every field is in the Target and Signal models; here is how to read a target's state.

Target fields
FieldMeaning
waiting_first_readtrue until the first daily read takes the starting picture. No signal comes from it: signals are changes between two reads.
statusactive: read every day. paused: by the account (pause_reason user), because credits ran out (pause_reason credits; resume with paused: false once there are credits), because it is beyond the pages the plan allows (pause_reason plan: the free plan keeps the oldest pages; the others are read again with Spotter or a credit pack), or by our team (pause_reason admin; write to us to know why).
unavailabletrue when the page can't be read any more (removed or private). It stays on the list; remove it to free the place.
Signal kinds (the kind field)
kind
new_post, position_changed, headline_changed, location_changed, open_to_work_on, open_to_work_off, hiring_on, hiring_off, tagline_changed, description_changed, headcount_changed, followers_jump, job_opened, job_closed, job_state_changed, keyword_match, went_quiet, back_active

Errors

Errors are JSON, { "error": { "code", "message" } }, with the matching HTTP status. Branch on the code, which is stable.

Error codes
StatusCodeWhen
400invalid_targeturl isn't the address of a LinkedIn profile, company page or job.
400invalid_optionA setting isn't valid: kind, paused, muted, seen or unread. Also when the body isn't a JSON object, or a required argument is missing.
401unauthorizedThe API key is missing, revoked or invalid.
402no_creditsThe account hasn't enough credits for the first daily read of the page being added or resumed.
403target_limitThe list is full (2 pages on the free plan, 200 on Spotter), or a page beyond what the plan reads can't be resumed.
403page_blockedThe page was removed from OhSpotted at its owner's request and can't be followed.
403paused_by_teamOur team paused the page (pause_reason admin): it can't be resumed through the API. Write to us.
404not_foundNo target with this id on the account's list.
409already_watchingThe page is already on the account's list.
429too_many_failed_pages10 pages added within a day couldn't be found on their first read. Until the day is over, only pages already read can be added.
429rate_limitedMore than 600 requests (or 60 added pages) in an hour. Retry-After says when to try again.
500genericSomething went wrong on our side. Try again.

Credits & limits

Everything here uses the account's own list and credits, like the app: each page followed is read once a day, never in real time, and costs 2 credits a day for a profile, 3 for a company page and 1 for a job. The free plan includes 120 credits a month and up to 2 pages; the Spotter plan, or credits left from a bought pack, up to 200. The API itself is not billed: an account can make 600 requests an hour, and add 60 pages an hour.

MCP server

The MCP server lets Claude, ChatGPT, Grok Build or any MCP client follow pages and read what changed for you. It uses Streamable HTTP at https://www.ohspotted.com/api/mcp. Clients that support OAuth, like Claude and ChatGPT, only need this URL: you log in and allow access once. Others take an API key in the Authorization header, or ?key= for clients that only accept a URL. Your dashboard has one-click setups for each client.

Claude Code
claude mcp add --transport http ohspotted https://www.ohspotted.com/api/mcp --header "Authorization: Bearer YOUR_API_KEY"

Tools

get_usageRead-only

Current plan, credits left, how many pages are followed and how many the plan allows. Everything here uses the account's own list and credits, like the app: each page followed is read once a day, never in real time, and costs 2 credits a day for a profile, 3 for a company page and 1 for a job. The free plan includes 120 credits a month and up to 2 pages; the Spotter plan, or credits left from a bought pack, up to 200. The API itself is not billed: an account can make 600 requests an hour, and add 60 pages an hour.

Arguments
none
Returns
plan, plan_name, credits, targets, target_limit, monthly_credits, requests_per_hour, manage_url
list_targetsRead-only

The pages the account follows (LinkedIn profiles, company pages and jobs), newest first, each with its state and latest signal.

Arguments
url?, kind?, page?, limit?
Returns
targets (see the Target object), total, page
get_targetRead-only

One followed page with its state and latest signal.

Arguments
target_id
Returns
The Target object
add_target

Follows a LinkedIn profile, company page or job from its address. It is read once a day, starting with the next pass: the first read only takes the starting picture, and signals are what changes after it. Costs 2 credits a day for a profile, 3 for a company page and 1 for a job. Ask the user before following a person.

Arguments
url
Returns
The Target object
update_target

Pauses or resumes the daily reads of a followed page (a paused page costs nothing), leaves it out of the daily email (muted), or marks its signals as seen.

Arguments
target_id, paused?, muted?, seen?
Returns
The Target object
remove_targetDeletes data

Takes a page off the list. Ask the user first.

Arguments
target_id
Returns
deleted, id
get_signalsRead-only

What changed on the followed pages, newest first: of one page with target_id, or of all of them. Pages are read once a day, so this is never real time.

Arguments
target_id?, limit?, unread?
Returns
signals (see the Signal object), unread_total

Arguments and results use the same names as the REST API. A failed tool call returns its message with the error code in parentheses, e.g. (target_limit).

Try asking

  • Follow this profile and tell me when it changes: https://www.linkedin.com/in/jane-doe
  • Which of the pages I follow changed this week?
  • Show what changed on my list over the last month, biggest news first.
  • Pause the pages that cost the most credits and tell me what I have left.

Start spotting

Create an account and get your free credits to try the API.