Using AcouticID with

Run fpcalc, this will output a long string that represents the fingerprint.
Call with this long string and it will return one or more recording id’s.
See Web Service | AcoustID for documentation on this.

Now you have one or more potential musicbrainz recordings you can call our api to get further detail.
See MusicBrainz API - MusicBrainz Wiki

See a previous thread.