Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/footnote-attach

Given footnote markers (label, page, x, y) and footnote texts (label, page, x, y) extracted from a laid-out document, pairs each marker with its note by label and page, pairing repeated labels on one page in reading order, optionally letting a note continue on the next page, and reports unattached markers, orphan notes, ambiguous groups (different counts for the same label) and notes placed above

BaseAnswering
POSThttps://agents.writerslogic.com/api/v1/footnote-attach

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.writerslogic.com/api/v1/footnote-attach", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"notes":[{"x":72,"y":700,"page":3,"text":"First note.","label":"1"},{"x":72,"y":720,"page":3,"text":"Second note.","label":"2"}],"markers":[{"x":200,"y":140,"page":3,"label":"1"},{"x":90,"y":400,"page":3,"label":"2"}]}),
});
console.log(await res.json());

Example input

{
  "notes": [
    {
      "x": 72,
      "y": 700,
      "page": 3,
      "text": "First note.",
      "label": "1"
    },
    {
      "x": 72,
      "y": 720,
      "page": 3,
      "text": "Second note.",
      "label": "2"
    }
  ],
  "markers": [
    {
      "x": 200,
      "y": 140,
      "page": 3,
      "label": "1"
    },
    {
      "x": 90,
      "y": 400,
      "page": 3,
      "label": "2"
    }
  ]
}