Skip to content

Sheet music, as an API.

Embed playable scores, turn PDFs into editable notation, and read or write any Flat score from your own code.

Free 14-day trial. The REST and Import APIs are free, no plan needed.

index.html
<div id="embed"></div>
<script src="https://prod.flat-cdn.com/embed-js/v2.12.1/embed.min.js"></script>
<script>
  const embed = new Flat.Embed('embed', {
    score: '56ae21579a127715a02901a6',
    embedParams: { appId: 'YOUR_APP_ID', mode: 'edit' }
  });
  embed.play();
</script>

Pick the parts you need

Each brick works on its own and shares one account. Embed and OMR are usage-based; the REST and Import APIs are free.

Embed

Usage-based

Put interactive, playable sheet music in your own site or app.

  • Viewer or editor mode
  • JavaScript/TypeScript SDK, with usage analytics in the console

OMR

Usage-based

Turn PDFs and photos of sheet music into editable scores.

  • PDFs and photos in
  • MusicXML or MIDI out

The playground runs in the console; an account is required.

REST API

Free

Read and write Flat accounts and scores from your own code.

  • Scores, collections and comments
  • Personal tokens or OAuth2

Import API

Free

An “Edit on Flat” link that imports any score into a Flat account.

  • A single link, nothing to configure
  • Works with any score on the web

LTI

Flat for Education

Connect Flat for Education to your school's LMS.

  • Certified LTI 1.3 Advantage and 1.1 provider
  • Deep linking, grades and rosters

LTI is included with a Flat for Education subscription.

The developer console

Create an app, get your keys and domains, generate embed code, run OMR jobs in the playground, and watch usage. All five bricks in one place.