{"id":50474251,"url":"https://github.com/shnwazdeveloper/sayamusicapi","last_synced_at":"2026-06-01T12:02:41.072Z","repository":{"id":357230726,"uuid":"1236007582","full_name":"shnwazdeveloper/sayamusicapi","owner":"shnwazdeveloper","description":"Cloudflare Workers music API for legal search, metadata, previews, artwork, and open/free streams","archived":false,"fork":false,"pushed_at":"2026-05-11T23:33:09.000Z","size":65,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-11T23:37:16.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sayamusicapi.shnwazdeveloperx.workers.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shnwazdeveloper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-11T21:35:41.000Z","updated_at":"2026-05-11T23:33:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shnwazdeveloper/sayamusicapi","commit_stats":null,"previous_names":["shnwazdeveloper/sayamusicapi"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/shnwazdeveloper/sayamusicapi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Fsayamusicapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Fsayamusicapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Fsayamusicapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Fsayamusicapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shnwazdeveloper","download_url":"https://codeload.github.com/shnwazdeveloper/sayamusicapi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shnwazdeveloper%2Fsayamusicapi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33773782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-01T12:02:40.131Z","updated_at":"2026-06-01T12:02:41.067Z","avatar_url":"https://github.com/shnwazdeveloper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SayaMusicAPI\n\nA Cloudflare Workers music API for legal music discovery: search, metadata, artwork, preview clips, open Audius streams, and Internet Archive public/free media links.\n\nThis project intentionally does not scrape unauthorized song files or bypass copyright, paywalls, DRM, or provider access rules.\n\n## Features\n\n- 1300+ GET endpoints across Apple/iTunes, MusicBrainz, Cover Art Archive, Internet Archive, Audius, JioSaavn, Gaana, Deezer, Radio Browser, Openverse, Wikidata, Wikimedia, ListenBrainz, GitHub, Odesli, and web search-link sources.\n- Landing page at `/` and documentation page at `/docs`.\n- Docs-first website with tabs for quickstart, search, media helpers, providers, examples, endpoint registry, and Cloudflare deploy.\n- No API-side quotas, API keys, paid tiers, request throttling, or result caps added by SayaMusicAPI.\n- Cloudflare Workers deployment with Wrangler.\n- CORS enabled for public apps.\n- Built-in `/v1/endpoints` registry and `/v1/openapi.json`.\n- Legal media helpers for preview, stream, download, quality, artwork, and matching.\n\n## Quick Start\n\n```bash\nnpm install\nnpm run dev\n```\n\nLocal API:\n\n```text\nhttp://localhost:8787\n```\n\nExample calls:\n\n```bash\ncurl \"http://localhost:8787/v1/search/tracks?q=alan%20walker\"\ncurl \"http://localhost:8787/v1/jiosaavn/search/songs?q=believer\"\ncurl \"http://localhost:8787/v1/gaana/search/songs?q=believer\"\ncurl \"http://localhost:8787/v1/apple/search/songs?q=believer\"\ncurl \"http://localhost:8787/v1/deezer/search/tracks?q=believer\"\ncurl \"http://localhost:8787/v1/openverse/search/audio?q=piano\"\ncurl \"http://localhost:8787/v1/radio-browser/stations/search?q=lofi\"\ncurl \"http://localhost:8787/v1/musicbrainz/search/recordings?q=dua%20lipa\"\ncurl \"http://localhost:8787/v1/archive/search/music?q=jazz\"\n```\n\nSayaMusicAPI does not add a result cap. Provider paging inputs are passed through only when clients send them; upstream providers may still enforce their own public paging rules.\n\n## Cloudflare Deploy\n\n```bash\nnpm run typecheck\nnpm test\nnpm run deploy\n```\n\n## Important Endpoints\n\n```text\nGET /health\nGET /v1/endpoints\nGET /v1/openapi.json\nGET /v1/search/tracks?q=...\nGET /v1/media/preview?q=...\nGET /v1/media/stream?source=audius\u0026id=...\nGET /v1/media/download?source=archive\u0026identifier=...\nGET /v1/media/artwork?provider=cover-art\u0026release=...\n```\n\n## Provider Notes\n\n- Apple/iTunes: metadata, artwork, store links, and short preview clips.\n- MusicBrainz: structured open music metadata, relationships, recordings, releases, artists, and ISRC lookup.\n- Cover Art Archive: release and release-group cover art.\n- Internet Archive: public/free item metadata and file links. Check item license metadata before reuse.\n- Audius: open music catalog and stream resolution.\n- JioSaavn: public web search metadata, artwork, official catalog links, and legal preview URLs. Protected/encrypted full-song media fields are not exposed.\n- Gaana: official search-link helper for legal discovery without protected playback scraping.\n- Deezer: public metadata, chart, artwork, and preview clip routes.\n- Radio Browser: public radio station metadata and stream URLs.\n- Openverse: openly licensed audio and image discovery.\n- Wikidata/Wikimedia: open knowledge search, page summaries, and entity metadata.\n- ListenBrainz: public music stats and metadata lookup.\n- GitHub: public repository discovery for music/API/source references.\n- Odesli: cross-platform smart links for song, album, and podcast URLs.\n- Spotify, SoundCloud, Bandcamp, and YouTube Music: official search-link helpers through `/v1/web/:source/search/:resource`.\n\n## Tests\n\n```bash\nnpm test\nnpm run typecheck\nnpm run endpoints\nnpm run audit:endpoints\nnpm run audit:endpoints:smoke\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnwazdeveloper%2Fsayamusicapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshnwazdeveloper%2Fsayamusicapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshnwazdeveloper%2Fsayamusicapi/lists"}