Lens Project API guide

Lens Project API Guide

Access follows the services held by the company and the permissions on its key. Configuring reporting locations and teams adds no paid coverage. The Lens Project will let your own systems read competitor records from Paths, your options and adopted steps from Possibilities, and your measured decisions from Metrics.

This page describes the planned pull. The Lens Project is in development and is not sold yet, so the pull is not open to the public today.

In development

Not investment advice

The pull returns records and figures taken from public sources, each with its link. It does not tell you what to buy, sell or decide, and nothing it returns is investment advice.

Every figure, date and link comes from the source record. A finding's check_level field says whether a researcher has signed it.

The key

Every call carries your key

Send your key in the X-Lens-Key header on every call. No sign-in is needed.

  • Where it is made: on the Lens page under Account. The key is shown once, when it is made, and then kept only as a fingerprint.
  • Who owns it: your company. Admins make keys and share links. Both are under Account.
  • Keep it private: treat it like a password. If a key may have been seen, revoke it and make a new one.

The address to call is shown on the Lens page next to your key. In the examples below, your-key-here stands where your key goes.

GET /findings

Your findings

The Paths and Possibilities findings on your account, newest first. Add since to get only the findings that arrived after a time you give.

Service: Paths or Possibilities. If that service is switched off on your account, the route answers 404.

Query: since, optional: an ISO time; only findings that arrived after it.

Use since_id with since to include higher IDs at the same arrival time. Send snapshot_id=start on page 1. On later pages, use the X-Lens-Findings-Snapshot response header as your snapshot_id and keep the original filters and page size. Advance your checkpoint after the last page, then start a new snapshot to read later arrivals.

Fields: Paths and Possibilities findings (Metrics decisions have their own route), newest first, at most 500: id, date, label, summary, kind, company, source_url, source_label, quote, check_level, arrived_at, and grouped events.

Call

curl -H "X-Lens-Key: your-key-here" \
  "https://<the Lens address>/api/lens/v1/findings?since=2026-11-01T00:00:00Z"

Example reply (shortened)

{
  "alerts": [
    {
      "id": 275,
      "date": "2026-11-06",
      "label": "CMS revises the 2027 Medicare hospital outpatient and ASC payment rates and quality reporting, the exact payment rules under which hospitals get paid for procedures using Intuitive's products.",
      "summary": "The commitment turns on hospitals being reimbursed under the OPPS and ASC payment systems, which this rule resets for 2027, but the excerpt gives no procedure-specific rate detail affecting robotic surgery.",
      "kind": "rule",
      "company": null,
      "source_url": "https://www.federalregister.gov/documents/2026/11/06/2026-22739/medicare-program-hospital-outpatient-prospective-payment-and-ambulatory-surgical-center-payment",
      "source_label": "Federal Register",
      "quote": "revises the Medicare Hospital Outpatient Prospective Payment System (OPPS) and the Medicare Ambulatory Surgical Center (ASC) payment system for calendar year 2027",
      "check_level": "software-checked",
      "service": "ER",
      "arrived_at": "2026-11-12T02:53:13.717951+00:00"
    }
  ]
}
GET /er/path

Your Possibilities path

The goal you set, the options open to you now (ranked by code by how ready you are, their deadline and the goal markers they touch), the rules in the background, and the steps you adopted.

Service: Possibilities. If that service is switched off on your account, the route answers 404.

Fields: the Possibilities goal, the open options ranked by code (readiness, deadline, goal markers touched), counts, the background rules and the adopted steps.

Call

curl -H "X-Lens-Key: your-key-here" \
  "https://<the Lens address>/api/lens/v1/er/path"

Example reply (shortened)

{
  "goal": {
    "text": "Keep da Vinci procedure growth at 13% to 15% a year while hospital payment and device rules change.",
    "markers": [
      {
        "label": "da Vinci procedures growth 2026",
        "measure": "da_vinci_procedures_growth",
        "unit": "percent",
        "low": 13,
        "high": 15,
        "due": "2026-12-31",
        "source_url": null
      }
    ],
    "set_by": "the client"
  },
  "options": [
    {
      "option_id": 2,
      "finding_id": 259,
      "title": "FDA's final guidance lets a maker of AI-enabled devices update the AI in its products under a pre-agreed plan without filing a new marketing submission each time.",
      "kind": "rule",
      "date": "2024-12-04",
      "source_url": "https://www.federalregister.gov/documents/2024/12/04/2024-28361/marketing-submission-recommendations-for-a-predetermined-change-control-plan-for-artificial",
      "check_level": "software-checked",
      "markers_touched": [],
      "readiness": "unclear",
      "deadline": null,
      "rank": 1
    }
  ],
  "background": [
    {
      "finding_id": 275,
      "title": "CMS revises the 2027 Medicare hospital outpatient and ASC payment rates and quality reporting, the exact payment rules under which hospitals get paid for procedures using Intuitive's products.",
      "date": "2026-11-06",
      "source_url": "https://www.federalregister.gov/documents/2026/11/06/2026-22739/medicare-program-hospital-outpatient-prospective-payment-and-ambulatory-surgical-center-payment",
      "check_level": "software-checked"
    }
  ],
  "computed_by": "code; the model only answered yes or no on relevance to the goal",
  "trail": {
    "steps": [
      {
        "seq": 1,
        "title": "FDA's final guidance lets a maker of AI-enabled devices update the AI in its products under a pre-agreed plan without filing a new marketing submission each time.",
        "adopted_at": "2026-11-12T18:21:08.008434+00:00",
        "source_url": "https://www.federalregister.gov/documents/2024/12/04/2024-28361/marketing-submission-recommendations-for-a-predetermined-change-control-plan-for-artificial"
      }
    ]
  }
}
GET /er/claims

Your claims, checked

Each claim and goal your company stated, with its mark (supported, needs work or still open), the figure behind it with its period and source, and the day it can next be checked. A repeat read with nothing changed answers 304.

Service: Possibilities. If that service is switched off on your account, the route answers 404.

Fields: each claim and goal your company stated, checked by code against the figures it reports: the mark (supported, needs work or still open), the basis, the figure with its period and source, and the day it can next be checked; an ETag, so a repeat read with nothing changed answers 304.

Call

curl -H "X-Lens-Key: your-key-here" \
  "https://<the Lens address>/api/lens/v1/er/claims"

Example reply (shortened)

{
  "claims": [
    {
      "register_id": 7,
      "title": "Report progress toward the sample annual goal",
      "headline": "Report progress toward the sample annual goal",
      "stated_on": "2026-01-12",
      "measure": null,
      "mark": "still open",
      "basis": "no figure series on file tests this claim",
      "period": null,
      "value": null,
      "source_url": null,
      "claim_source_url": "https://example.com/sample-claim",
      "series_id": null,
      "next_check_on": "2026-12-30",
      "checked_at": "2026-11-12T18:21:08+00:00",
      "from": {
        "register": "lens_register:7",
        "figure": null
      }
    }
  ],
  "marks": [
    "supported",
    "needs work",
    "still open"
  ],
  "note": "Synthetic example. A figure can be absent while the claim is still open."
}
GET /tem/decisions

Your Metrics decisions

Each decision on your list, with its goal as numbers, the figures reported so far and its status. The status is worked out by code from those figures.

Service: Metrics. If that service is switched off on your account, the route answers 404.

Fields: each Metrics decision with its goal as numbers, its reported series and its status, worked out by code.

Call

curl -H "X-Lens-Key: your-key-here" \
  "https://<the Lens address>/api/lens/v1/tem/decisions"

Example reply (shortened)

{
  "company": {
    "name": "Intuitive Surgical",
    "figuresThrough": "2026-09-30"
  },
  "statuses": [
    "goal met",
    "on track",
    "ahead of goal",
    "behind",
    "not disclosed",
    "not yet measurable"
  ],
  "decisions": [
    {
      "id": 1,
      "title": "2025 outlook: worldwide da Vinci procedures up about 13% to 16%",
      "goalNumbers": {
        "measure": "da_vinci_procedures_growth",
        "unit": "percent",
        "low": 13,
        "high": 16,
        "dueDate": "2025-12-31",
        "direction": "within"
      },
      "made_on": "2025-01-15",
      "source_url": "https://www.sec.gov/Archives/edgar/data/1035267/000103526725000005/q424ex-991q4prexreleaseq4o.htm",
      "status": "goal met",
      "series": [
        {
          "measure": "da_vinci_procedures_growth",
          "period": "2024-12-31",
          "periodKind": "Q",
          "value": 18,
          "unit": "percent",
          "source": "exhibit",
          "source_url": "https://www.sec.gov/Archives/edgar/data/1035267/000103526725000008/q424ex-991earningsrelease.htm",
          "filing": "0001035267-25-000008:q424ex-991earningsrelease.htm",
          "filed": "2025-01-23"
        },
        {
          "measure": "da_vinci_procedures_growth",
          "period": "2025-03-31",
          "periodKind": "Q",
          "value": 17,
          "unit": "percent",
          "source": "exhibit",
          "source_url": "https://www.sec.gov/Archives/edgar/data/1035267/000103526725000106/q125ex-991earningsrelease.htm",
          "filing": "0001035267-25-000106:q125ex-991earningsrelease.htm",
          "filed": "2025-04-22"
        }
      ],
      "computedBy": "code"
    }
  ]
}
Limits

Limits and answers

  • Findings per call: at most 500. Use since to read only what is new.
  • How often: each key may make 60 calls a minute. Past that, a call answers 429 with the seconds to wait. Every call is recorded on your usage. Lens itself looks for new records every 5 minutes.
  • A missing, unknown or revoked key: 404 Not Found, the same answer as a service that is switched off.
  • What a key does:
    • It reads your findings.
    • It can choose a Possibilities path (POST /api/lens/v1/er/adopt).
    • It can send Metrics figures (POST /api/lens/v1/tem/figures), the same figures file you can upload.
    Goals and keys are still changed on the Lens page.
About the examples

Where the example replies come from

The example replies are shortened from N-Ledger's own example data, built from public records (the Federal Register and SEC filings) about Intuitive Surgical, used here as a sample client. Intuitive Surgical did not commission or review this work. Each example shows one item where a real reply holds many.