I am implementing an (education-purpose) SPA based on your (amazing) API. As my code is JS-only and I am making HTTP requests with the API Key in the url, it's open to the public.. Is there any way to circumvent that and hide the API key?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on November 12, 2016 at 4:50 PM
Hi @gkatsanos Not really. We don't worry too much about this since we issue API keys for free. There's very little motivation for anyone to steal it. Having said that, if someone were to steal it, you can contact us and I can re-generate a new one for you.
Cheers.
Reply by simonferndriger
on July 24, 2022 at 2:59 AM
Hi Travis
Is your answer still valid today? I'm planing on doing the same here. Or are you restricting access to specific domains for the API key nowadays?
Best Simon
Reply by ticao2 š§š· pt-BR
on July 24, 2022 at 9:15 AM
I believe that Travis Bell's statement is still valid.
If necessary ask to Regenerate API Key.