Make your first API call in minutes
Generate an API Key
Check Your Credits
Make Your First Request
curl -X POST https://api.precital.com/v1/audio-analyses \ -H "X-API-Key: your-api-key-here" \ -H "Content-Type: application/json" \ -d '{ "audio_url": "https://example.com/track.mp3", "track_title": "My Amazing Song", "artist_name": "Artist Name" }'
{ "id": "ana_abc123def456", "status": "completed", "workspace_id": "ws_xyz789", "input_source": "audio_url", "result": { "bpm": 128, "key": "C# minor", "genres": { "Electronic": 0.85, "House": 0.72 }, "moods": { "Energetic": 0.91, "Upbeat": 0.78 }, "instruments": [ "Synthesizer", "Drum Machine", "Bass" ], "energy": 0.87, "danceability": 0.82, "acousticness": 0.12, "meta_title": "My Amazing Song", "meta_artist": "Artist Name" }, "credits_charged": 1, "created_at": "2025-01-15T10:30:00Z", "updated_at": "2025-01-15T10:32:15Z" }
curl -X GET https://api.precital.com/v1/credits \ -H "X-API-Key: your-api-key-here"
Was this page helpful?