Perplexity API sources: the Sonar API vs the Perplexity website

Perplexity's API and its website both search the web and list sources, but they are different surfaces. For the same prompt they listed different sites, and only the website shows which sources the answer actually used. If you care about what Perplexity users see, measure the website; if you build on the API, measure the API. Keep them apart.

Two surfaces

Perplexity's own documentation describes the API's search results as entries with a title, URL and date (docs.perplexity.ai, checked 2026-12-02). Here is what the two AskCrawl engines return:

Perplexity Sonar APIPerplexity web
SurfaceOfficial APIWebsite
Model in this samplesonarNot recorded
Login stateNot confirmedSigned in
CountryNot selectableNot selectable
Sources in this sample1010
Used vs only foundCannot tell: cited is null2 used, 8 only found
Other fields—Follow-up questions
Typical waitAbout 5 sUsually 9–30 s
Price per answer$0.0092$0.0032

Same prompt, different sources

Both were asked “What is the best CRM software for small businesses?”, once each. The API listed 8 domains and the website 10; 5 appeared on both.

  • Public samples
  • 2026-11-29
  • 1 run per surface
Where it appearedDomainsWhich
Both surfaces5fitsmallbusiness.com, zdnet.com, pcmag.com, techradar.com, zendesk.com
Website only5toolrankers.com, wise.com, honeybook.com, freshworks.com, optimonk.com
API only3zapier.com, capterra.com, attio.com

On the website, 2 of the 10 sources were used in the answer; the rest were only found. The API response does not say which sources the answer relied on, so those are reported as unknown rather than guessed. One run per surface shows the difference in format; it is not a measurement.

Collect both in one job

Send both engine IDs in one request. Each answer keeps its own engine, surface and capture conditions, and the reports group them separately.

# 1. Quote: free, creates nothing
curl https://api.askcrawl.com/v1/answers/quote \
  -H "Authorization: Bearer $ASKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompts": ["What is the best CRM software for small businesses?"],
    "engines": ["perplexity.web","perplexity.api"],
    "samples": 3
  }'

# 2. Submit: charged. At most $0.0372; refused if it could cost more than X-Max-Price
curl https://api.askcrawl.com/v1/answers \
  -H "Authorization: Bearer $ASKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "X-Max-Price: 0.04" \
  -d '{
    "prompts": ["What is the best CRM software for small businesses?"],
    "engines": ["perplexity.web","perplexity.api"],
    "samples": 3
  }'

# 3. Check progress and read answers (free). Replace JOB_ID with the id returned above
curl https://api.askcrawl.com/v1/jobs/JOB_ID -H "Authorization: Bearer $ASKCRAWL_API_KEY"
curl "https://api.askcrawl.com/v1/answers?job_id=JOB_ID" -H "Authorization: Bearer $ASKCRAWL_API_KEY"

How to read it

  • A site that appears on one surface and not the other in a single run may simply have been missed that time. Repeat each prompt before drawing conclusions.
  • For a citation rate, only answers whose sources are marked used or found count; the API's unknown sources stay out of the denominator.
  • The website is collected signed in and neither surface takes a country, so check prompts where location matters with another engine.

Compare Perplexity's API and website on your prompts

Quoted first. One prompt, both surfaces, three runs each: at most $0.0372.

New job