A Laravel application that analyzes Amazon product reviews to detect fake reviews using AI. The service fetches reviews via the Unwrangle API, analyzes them with OpenAI, and provides authenticity scores.
Visit nullfake.com to try it out.
Read our blog post about how nullfake works
- User submits an Amazon product URL and completes a captcha
- Null Fake retrieves the ASIN and country from the URL
- Database check: If a review analysis for the given ASIN and country exists in the database (and is less than 30 days old), the cached OpenAI analysis is returned instantly. If not, the service fetches reviews using the Unwrangle API, analyzes them with OpenAI, and saves the entire interaction to the database for future requests
- Results are displayed to the user, including a fake review percentage, grade, explanation, and ratings
- Amazon review fetching via Unwrangle API
- Product validation before analysis
- AI analysis using OpenAI to detect fake reviews
- Database caching for fast repeat lookups
- Captcha protection (reCAPTCHA and hCaptcha support)
- Real-time progress tracking during analysis
The asin_data
table stores:
asin
- Amazon Standard Identification Numbercountry
- Country code (e.g., 'us', 'ca')product_description
- Product description from Amazonreviews
- JSON array of fetched reviews from Unwrangle APIopenai_result
- JSON of full OpenAI analysis with detailed scores
The model calculates:
fake_percentage
- Percentage of reviews flagged as potentially fake (score ≥ 70)grade
- Letter grade (A-F) based on fake review percentageexplanation
- Human-readable analysis summaryamazon_rating
- Original average rating from all reviewsadjusted_rating
- Adjusted rating excluding fake reviews
- Laravel 12 with Livewire 3
- Unwrangle API for Amazon review data
- OpenAI GPT-4 for review authenticity analysis
- MySQL/PostgreSQL with JSON columns
- reCAPTCHA/hCaptcha integration
- Enter an Amazon product URL
- Complete the captcha
- View the analysis results including fake review percentage, letter grade, detailed explanation, and original vs adjusted ratings
- Submit another URL as needed
MIT
This was developed in Toronto Canada by Shift8 Web