Promptbase Trending Prompts Scraper
Pricing
from $1.00 / 1,000 results
Promptbase Trending Prompts Scraper
Scrape the top trending prompts from PromptBase — titles, prices, engines, scores, sales, ratings, tags & images. Export as JSON/CSV in seconds.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Gim Scraper
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
PromptBase Trending Prompts Scraper (Apify Actor)
An Actor that fetches the top N items (1 to 10) from the Trending Prompts list on PromptBase via direct scraping (no official API), and saves the results to the Actor's Dataset on the Apify platform.
Input
Defined by INPUT_SCHEMA.json:
{"numTrend": 5}
| Field | Type | Description | Constraints |
|---|---|---|---|
numTrend | integer | Number of trending items to fetch | 1 to 10, default 5 |
Output
Each record pushed to the Dataset matches dataset_schema.json and contains
the following fields (most may be null if not provided by the site):
title, slug, username, price, type, engine, domain, score, scoreDaily, scoreWeekly, scoreMonthly, hotness, hovers, views, sales, favorites, rating, cvr, featured, staffPick, nsfw, flagged, tags, image, created, updatedExample record:
{"title": "Cinematic Portrait Photography","slug": "cinematic-portrait-photography","username": "someuser","price": 3.99,"type": "image","engine": "Midjourney","domain": "photography","score": 98.5,"tags": ["portrait", "cinematic"],"image": "https://...","created": "2026-01-01T00:00:00Z","updated": "2026-06-01T00:00:00Z"}
Running locally
pip install -r requirements.txtpython scraper.py # quick standalone test of the function
Running as an Apify Actor
- Place the files (
main.py,scraper.py,requirements.txt,INPUT_SCHEMA.json,dataset_schema.json,actor.json) inside your Actor's folder on Apify (or use the Apify CLI:apify init). - Move
actor.jsonto.actor/actor.json,INPUT_SCHEMA.jsonto.actor/input_schema.json, anddataset_schema.jsonto.actor/dataset_schema.jsonfollowing Apify's project structure (adjust the paths insideactor.jsonaccordingly). - Make sure
apifyis listed inrequirements.txt(already included). - Push (
apify push) or run locally:
$apify run
Results will appear under the Dataset tab of the Actor run.
Caveats
- The code depends on the stability of PromptBase's page structure
(
id="ng-state"); any change on the site's side may break the scraper. - For heavy production use, consider adding retry/backoff logic for network errors, and make sure to respect the target site's terms of service.