musics.name

For machines

Public JSON API

Everything this site publishes is available as structured data: articles with their Markdown source, the topic taxonomy, the tools, the recording catalogue and full-text search. Read-only, no keys, no accounts, CORS open.

Endpoints

  • GET/api/index.json

    Site index

    Name, description, counts, endpoint list, latest articles, machine-readable locations.

    https://musics.name/api/index.json
  • GET/api/articles.json

    Article list

    Metadata for every article. Filters: ?topic=, ?tag=, ?q=, ?limit= (1–100), ?offset=.

    https://musics.name/api/articles.json?topic=tuning&limit=50
  • GET/api/article.json?slug=<slug>

    One article

    Metadata, headings, FAQ, Markdown source and rendered HTML for a single article. Also at /api/articles/<slug>.json.

    https://musics.name/api/article.json?slug=just-intonation
  • GET/api/topics.json

    Taxonomy

    Topic keys with names, blurbs, counts and the newest article in each.

    https://musics.name/api/topics.json
  • GET/api/tools.json

    Tools

    The browser tools with features, FAQ, privacy notes and schema.org nodes.

    https://musics.name/api/tools.json
  • GET/api/releases.json

    Catalogue

    Featured recordings with per-store links, cover art and release years.

    https://musics.name/api/releases.json
  • GET/api/search.json?q=<query>

    Search

    Unified search. Direct answers parse chord symbols and scale or key names (Dm7, F# harmonic minor); then tools, key guides, scales, chords, intervals, glossary and ranked articles.

    https://musics.name/api/search.json?q=Dm7
  • GET/api/theory.json?q=<text>

    Theory facts

    Computed answers, spelled by letter name: a chord (Dm7), scale or mode (d dorian), key (b flat major), interval (P5, or ?from=C4&to=G4), note (A4) or frequency (440 hz). Notes, formula, MIDI numbers, inversions, diatonic chords and the page that explains it.

    https://musics.name/api/theory.json?q=Dm7
  • GET/api/glossary.json

    Glossary

    Every music-theory term with its short definition and aliases. ?term=cadence returns one term with its full text.

    https://musics.name/api/glossary.json?term=cadence
  • GET/api/openapi.json

    OpenAPI 3.1

    Formal description of every endpoint above, with schemas and policies.

    https://musics.name/api/openapi.json

Try it

# the index: counts, endpoints, latest articles
curl -s https://musics.name/api/index.json | jq .counts

# every article about tuning, oldest first
curl -s "https://musics.name/api/articles.json?topic=tuning&limit=50" | jq -r ".items[].url"

# one article with its Markdown source and rendered HTML
curl -s "https://musics.name/api/article.json?slug=just-intonation" | jq -r .markdown

# search
curl -s "https://musics.name/api/search.json?q=hypermeter" | jq -r ".results[].title"
# resolve a chord symbol or scale name to its reference page
curl -s "https://musics.name/api/search.json?q=F%23m7b5" | jq -r ".lookups[].url"

Markdown twins

Every article is also published as raw Markdown with its front matter intact at /articles/<slug>.md, and any article URL answers Accept: application/json with the same object as /api/article.json. If you are building an index, wholesale reading is cheaper through /llms-full.txt (the whole corpus in one file) than through per-article requests.

Provenance

The site is developed by Yunus Emre Vurgun, who also reviews, corrects and publishes every article. Article objects returned by this API carry a provenance block describing how the text was produced, so a citing agent can pass it on. Full disclosure.

Policy

The API is read-only and unauthenticated. Responses are cacheable and served with Access-Control-Allow-Origin: *, so browser-side clients can call it directly. There are no rate limits in the application; static caching (5–60 minutes) absorbs traffic, so please do not defeat it with cache-busting parameters. Identify your client with a meaningful user-agent.

Quoting is welcome and requires attribution with a link to the article URL. Republishing articles whole, or using the corpus to train a model for redistribution as a competing publication, needs permission — see the terms and, for anything unclear, contact.

Type a chord symbol or a scale name and go straight to it.

Go to
↑ ↓ move   ↵ openesc close