# WritersLogic Chord Check

> WritersLogic Chord Check is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Identifies a chord from its notes, spells a chord symbol into notes, checks key membership, or transposes a chord symbol using pitch-class arithmetic over 21 fixed chord qualities.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/chord-check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-chord-check-37eb165a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qKpSKGdMVbzP8dxS2njgi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability writerslogic-chord-check-37eb165a -d '<json body>'
```

Example prompt: What chord do the notes C, E, G, and A spell out? And is it diatonic to the key of C major?

## When to prefer this

Use this endpoint when an AI agent needs rule-based, deterministic chord operations on lead sheets or music metadata — identifying chords from notes, spelling chord symbols, verifying key membership, or transposing chord symbols. It is ideal when you need transparent, labeled results with explicit ambiguity reporting rather than probabilistic guesses. Prefer it over LLM-based music reasoning when auditability and consistency across the fixed 21-quality table matter. Not suitable for harmonic analysis, progression inference, key detection, or chord qualities outside its table.

## Known failure modes

- Chord quality not in the 21-quality table — returns unknown with partial candidates
- Ambiguous chord reading (e.g. C6 vs Am7/C) — returns unknown with all candidates instead of choosing
- Invalid note names or chord symbol format — returns a parse or validation error
- Too few or too many notes provided (fewer than 2 or more than 8)
- Semitone value outside allowed range (-48 to 48) — rejected by schema validation
- Missing required operation field — request rejected
- Key tonic missing when operation is key-membership — request rejected

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

Returns the identified chord name or candidates if ambiguous, the spelled-out notes for a chord symbol, a boolean diatonic membership result with explanation, or the transposed chord symbol. When multiple readings are equally valid or no quality matches the table, returns 'unknown' with the candidate list rather than guessing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "object",
   "required": [
    "tonic"
   ],
   "properties": {
    "mode": {
     "enum": [
      "major",
      "minor",
      "harmonic-minor"
     ],
     "type": "string",
     "description": "Default major. minor is natural minor."
    },
    "tonic": {
     "type": "string",
     "maxLength": 3,
     "description": "Key tonic, e.g. A or Eb."
    }
   },
   "description": "For key-membership.",
   "additionalProperties": false
  },
  "chord": {
   "type": "string",
   "maxLength": 24,
   "description": "Chord symbol, root A-G with optional #/b, quality suffix, optional /bass: Cmaj7, F#m7b5, Bb/D."
  },
  "notes": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 6,
    "description": "Note name such as C, Eb, F#, Bbb, C##, optionally with octave (C4). Bass is the lowest note when every note has an octave, else the first."
   },
   "maxItems": 8,
   "minItems": 2,
   "description": "For identify: 2 to 8 notes."
  },
  "prefer": {
   "enum": [
    "sharps",
    "flats"
   ],
   "type": "string",
   "description": "Accidentals for a natural root when transposing. Default sharps; a root written with # or b keeps its kind."
  },
  "operation": {
   "enum": [
    "identify",
    "spell",
    "key-membership",
    "transpose"
   ],
   "type": "string"
  },
  "semitones": {
   "type": "integer",
   "maximum": 48,
   "minimum": -48,
   "description": "For transpose: semitones up (negative down)."
  },
  "expectChord": {
   "type": "string",
   "maxLength": 24,
   "description": "Optional claimed chord symbol to verify (identify, transpose)."
  },
  "expectNotes": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 4,
    "description": "A claimed note name."
   },
   "maxItems": 8,
   "description": "Optional claimed notes in order, to verify (spell)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-chord-check-37eb165a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
