{"uid":"cap_udlIREFvEqFvQ3UbMvJL9","slug":"music-theory-interval-calculator-3115c582","name":"Music Theory Interval Calculator","description":"Interval between two notes (quality, number, semitones) or the note a given interval above or below a note.","url":"https://music-theory.x402tookit.com/interval?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["from"],"properties":{"to":{"type":"string","description":"End note: names the interval from start to end"},"from":{"type":"string","description":"Start note, optionally with octave: C, F#4, Bb3"},"interval":{"type":"string","description":"Interval to apply instead of 'to': P1 m2 M2 m3 M3 P4 A4 d5 P5 m6 M6 m7 M7 P8 M9 ..."},"direction":{"type":"string","description":"up (default) or down, used with interval"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"to":{"type":["null","string"]},"asOf":{"type":["null","string"]},"from":{"type":["null","string"]},"number":{"type":["null","number"]},"source":{"type":["null","string"]},"quality":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"compound":{"type":["boolean","null"]},"degraded":{"type":["boolean","null"]},"fullName":{"type":["null","string"]},"interval":{"type":["null","string"]},"inversion":{"type":["null","string"]},"semitones":{"type":["null","number"]},"descending":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"simpleNumber":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lxxJijpfUhxQ16J_t9CJs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the interval between two notes (quality, number, semitones) or finds the note a given interval above or below a starting note.","exampleAgentPrompt":"What's the interval between F#4 and A4 — I need the quality, interval number, and how many semitones it spans?","exampleUseCases":[{"title":"Interval name between two notes","prompt":"What interval is formed between C and Eb? Give me the quality, number, and semitone count."},{"title":"Find note above by interval","prompt":"What note is a major sixth above G3?"},{"title":"Interval inversion for harmony study","prompt":"What is the interval between Bb3 and F4, and what is its inversion?"}],"resultDescription":"Returns the interval quality (e.g. major, minor, perfect, diminished, augmented), interval number (e.g. 3rd, 5th), semitone count, full name (e.g. 'Major Third'), inversion, whether it is compound or descending, and optionally the resolved target note when an interval and direction are given instead of a second note.","failureModes":["Invalid or unrecognized note name returns an error or null fields","Missing required 'from' parameter causes a bad request","Unsupported interval symbol returns null or degraded result","Octave out of range may produce unexpected results","Conflicting parameters (both 'to' and 'interval') may cause ambiguous resolution"],"whenToPreferThis":"Use this endpoint when you need precise music-theory interval analysis: naming the interval between two notes, counting semitones, finding inversions, or computing the note reached by moving a specific interval from a starting pitch. Prefer this over a general-purpose LLM for accuracy and structured output, especially when building ear-training apps, harmony analyzers, chord voicing tools, or transposition helpers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:34:56.143Z","isFirstParty":false,"canonicalSlug":"music-theory-interval-calculator-3115c582"}