Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/chord-check

Names a chord from its notes, spells a chord symbol into notes, tests whether a chord is diatonic to a key, or transposes a chord symbol, using pitch-class arithmetic over a fixed table of 21 chord qualities, for agents handling lead sheets and music metadata. Rule-based and labelled: when several readings are equally valid (C E G A is C6 or Am7/C) or no quality in the table matches, it returns un

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/chord-check

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/chord-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chord":"Ebmaj7","operation":"spell","expectNotes":["Eb","G","Bb","D"]}),
});
console.log(await res.json());

Example input

{
  "chord": "Ebmaj7",
  "operation": "spell",
  "expectNotes": [
    "Eb",
    "G",
    "Bb",
    "D"
  ]
}