# Not getting trailers data from RAWG API

**URL:** https://forum.codewithmosh.com/t/not-getting-trailers-data-from-rawg-api/20194
**Category:** React
**Created:** [May 11, 2023, 9:46pm UTC](https://forum.codewithmosh.com/t/not-getting-trailers-data-from-rawg-api/20194 "2023-05-11T21:46:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mjviana](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@mjviana](https://forum.codewithmosh.com/u/mjviana)
#### Post date: [May 11, 2023, 9:46pm UTC](https://forum.codewithmosh.com/t/not-getting-trailers-data-from-rawg-api/20194/1 "2023-05-11T21:46:47Z")

</div>

Hello!

Hi all!  
Just finish the lesson regarding getting and displaying game trailers…  
Only Grand Theft Auto as data. The API does not return any data for other games. Does anyone know a workaround?

Thanks!

---

<div class="post-metadata">

### Author: ![Mustapha](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/mustapha/32/5514_2.png) [@Mustapha](https://forum.codewithmosh.com/u/Mustapha)
#### Post date: [May 11, 2023, 10:08pm UTC](https://forum.codewithmosh.com/t/not-getting-trailers-data-from-rawg-api/20194/2 "2023-05-11T22:08:20Z")

</div>

Have u code it, let see how you did it

---

<div class="post-metadata">

### Author: ![isimmons33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/isimmons33/32/2403_2.png) [@isimmons33](https://forum.codewithmosh.com/u/isimmons33)
#### Post date: [May 22, 2023, 2:58am UTC](https://forum.codewithmosh.com/t/not-getting-trailers-data-from-rawg-api/20194/3 "2023-05-22T02:58:28Z")

</div>

Something wrong with [rawg.io](http://rawg.io) api. You can paste the url with key into another browser tab and get the same results. GTA V has a trailer and other games have empty results. That takes our application out of the picture.

So it’s not a problem with our code.

I wonder if it’s a limit on the free account. Because why is GTA V the first game in the list by default and the only one with trailers?

---

<div class="post-metadata">

### Author: ![ZwierQ](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/zwierq/32/6465_2.png) [@ZwierQ](https://forum.codewithmosh.com/u/ZwierQ)
#### Post date: [June 29, 2023, 9:58am UTC](https://forum.codewithmosh.com/t/not-getting-trailers-data-from-rawg-api/20194/4 "2023-06-29T09:58:38Z")

</div>

![rawg_pricing](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/5/5bd22361d228248832324f0d3071928a52e94959.png)

It’s because most of the trailers was uploaded on youtube and to fetch that data you have to buy at least RAWG API Business.  
I think there is more games with trailers directly uploaded to RAWG. “Rise of the Tomb Raider”  
have one trailer so if you want extend trailer component and f.e. add conditionaly rendered buttons to select trailers it’s still doable and easy to verify if it works.

---

<div class="post-metadata">

### Author: ![talhaAnik](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@talhaAnik](https://forum.codewithmosh.com/u/talhaAnik)
#### Post date: [October 18, 2023, 5:45am UTC](https://forum.codewithmosh.com/t/not-getting-trailers-data-from-rawg-api/20194/5 "2023-10-18T05:45:00Z")

</div>

I have also faced the same problem. Maybe they don’t provide game trailers for games except Grand Theft Auto
