Ricerca web

web/search/perplexityai by Perplexity AI
Ricerca webModello predefinito del provider · Sincrono · Input testo
Price from
0,001 $ / token
Tasks
1
Ricerca web
Regions
Mode
sync
Input
Testo
Output
query, results, answer, sources, images

About Ricerca web di Perplexity AI

Effettua una ricerca sul web in base a una query e restituisci i risultati ordinati per rilevanza (titolo, URL e un snippet o il contenuto della pagina).

Ricerca web di Perplexity AI è il modello predefinito di Perplexity AI per l’attività «Ricerca web», disponibile su Eden AI, a partire da 0,001 $ / token. Chiamalo con la stessa chiave API di tutti gli altri modelli di Eden AI, inviando la sua stringa del modello all’endpoint Universal AI.

Learn more about Ricerca web APIs on Eden AI

Tasks and prices

Ricerca web di Perplexity AI is available on Eden AI for 1 tasks. Ogni attività ha la propria stringa del modello e il proprio prezzo: invia quella stringa all’endpoint Universal AI per usare il modello per quell’attività.

Task
Price
Regions
Mode
Docs
Playground
Ricerca webweb/search/perplexityai
0,001 $ / token
sync

Parameters

What you send and what you get back when you call Ricerca web di Perplexity AI through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • query (obbligatorio): testo. La query di ricerca sul web
  • max_results: numero. Numero massimo di risultati di ricerca da restituire
  • depth: enum. Livello di profondità della ricerca. Il valore `deep` viene rifiutato con un codice di errore 400 su deepseek, perplexityai e zai, che eseguono un solo livello.

Risposta

  • query
  • results
  • answer
  • sources
  • images

Estimate your monthly cost

Enter your monthly volume for Ricerca web to compare Ricerca web di Perplexity AI with its cheapest alternatives.

Call Ricerca web di Perplexity AI with Eden AI

Invia la stringa del modello all’endpoint Universal AI. Per usare un altro modello, copia la sua stringa dalla tabella qui sopra.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "web/search/perplexityai",
        "input": {"query": "Ultime notizie sulla regolamentazione dell’IA in Europa"},
    },
)
print(response.json())

Questions about Ricerca web di Perplexity AI

On Eden AI, Ricerca web di Perplexity AI costs 0,001 $ / token for Ricerca web. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Ricerca web di Perplexity AI is available for: Ricerca web. Input: Testo. Output: query, results, answer, sources, images.

Eden AI offers Ricerca web from 6 providers, all callable with the same API key. The cheapest models are compared just below.

More from Perplexity AI

Other Perplexity AI models on Eden AI, for every task.