Ai Tools
PromptHero logo

PromptHero API

prompthero.com

PromptHero - prompts, image galleries, prompt details, and AI model listings.

Actions
5
Category
Ai Tools
Login
Not required
Output
JSON

Call the PromptHero API

Submit a task, then poll the job until it settles. This example runs act_prompthero_hot_prompt_listing.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_prompthero_hot_prompt_listing",
    "params": {}
  }'

5 actions on prompthero.com

Read

  • Hot Prompt Gallery

    act_prompthero_hot_prompt_listingread1 credit / call

    Returns the trending prompts gallery with titles, images, models, likes, and views.

  • Prompt Details

    act_prompthero_prompt_detail_ssrread1 credit / call

    Returns a single prompt's full text, title, images, and model details.

    prompt_slug
    string · required
  • Prompt Search

    act_prompthero_prompt_search_listingread2 credits / call

    Returns prompts by keyword with sort and pagination, including titles, images, and view counts.

    search_query
    string · required
    page
    integer
    page_size
    integer
    sort
    string
    model
    string
    category
    string
    time_range
    string
  • Related Prompts And Comments

    act_prompthero_prompt_detail_supplementaryread2 credits / call

    Returns related prompts and paginated comment threads for a given prompt.

    user_id
    string · required
    prompt_id
    string · required
    prompt_slug
    string
    related_limit
    integer
    comments_page
    integer
    comments_limit
    integer
  • Search Initial Load

    act_prompthero_prompt_search_initial_loadread2 credits / call

    Returns the initial prompt feed plus available model and category filter options.

    page
    integer
    page_size
    integer
    sort
    string
    time_range
    string

PromptHero API questions

Is there an API for PromptHero?
PromptHero does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for prompthero.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape PromptHero data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when prompthero.com changes its markup, Anakin updates the action.
Do I need a PromptHero account?
No. Every PromptHero action listed here runs anonymously — no account and no credentials required.
What does the PromptHero API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Ai Tools APIs

All Ai Tools sites