Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Shivamyadav's avatar

How to verify the api data?

I have created a list of films data in Laravel api ..

Now I need a way to verify those films meta deta like year, director, title and ratings etc are correct 💯 rather than manually go to the imdb website and search then find out the data and match it.

Something like api to api . If possible only with the imdb . Any alternative way.

I will be thankful for your kind help.🙃

0 likes
8 replies
Shivamyadav's avatar

On the article I found I can use the IMDb scraper with a Laravel package that extract the data into html and that can be used for my need I think..

Tommorow I will give it a try..

Snapey's avatar

@Shivamyadav scraping is fragile. It might work for a few weeks and then imdb change the layout, and your checking is broken.

JussiMannisto's avatar

@Snapey And also, its legality is a gray area. Movie and show metadata is IMDb's core product. Scraping it may be legal, but using it in any kind of commercial context is risky.

Shivamyadav's avatar

@Snapey yeah but I just need to verify my Films table data and after that I will just grab the original data for those films and store into my table that's it ..

Please or to participate in this conversation.