Title: restricted API doesn&#8217;t work
Last modified: April 28, 2019

---

# restricted API doesn’t work

 *  Resolved [cantbutron](https://wordpress.org/support/users/cantbutron/)
 * (@cantbutron)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/restricted-api-doesnt-work/)
 * Hi there,
 * If I use an API without any restriction it shows me the content without any problem,
   in this case all videos of a channel. Otherwise, if I add restrictions to the
   API so that it can only be used in one domain, the result is different.
 * I add an [image that clarifies it](https://ibb.co/VVMdWm9).
 * Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/restricted-api-doesnt-work/#post-11491349)
 * Hi,
 * We recommend using the IP address restriction if your goal is to add restrictions.
   You can try adding *.googleapis.com/* to the restrictions for your referrers.
   If that doesn’t work then your best bet is to find the IP addresses.
 * _[ [Signature deleted](https://wordpress.org/support/guidelines/#do-not-spam)]_
    -  This reply was modified 6 years, 8 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
 *  [cronsrcs](https://wordpress.org/support/users/cronsrcs/)
 * (@cronsrcs)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/restricted-api-doesnt-work/#post-12061121)
 * Any update on this? It doesn’t seem feasible to be restricting with HTTP referrer
   = *.googleapis.com/* – essentially anyone could take my API key and use it to
   request from YouTube API….

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘restricted API doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/youtube-embed-plus/assets/icon-256x256.png?rev=2165403)
 * [Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades](https://wordpress.org/plugins/youtube-embed-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed-plus/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [cronsrcs](https://wordpress.org/support/users/cronsrcs/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/restricted-api-doesnt-work/#post-12061121)
 * Status: resolved