AI Recommendations API
Retrieve articles based on queries or URLs, powered by semantic search.
Authorizations
Bearer token authentication using your Dappier API key. Get your API key at https://platform.dappier.com/profile/api-keys.
Query Parameters
Data model ID, starting with dm_. Browse and find data models in the Dappier Marketplace.
Body
Natural language query, keyword, or URL. If a URL is specified, our AI analyzes the page context, summarizes it, and provides semantic recommendations based on the content.
The number of articles to return.
The site domain where AI recommendations are being displayed. Example format: dappier.com.
The minimum number of articles from the ref domain specified above. The rest of the articles will come from other sites within the RAG model.
The search algorithm for retrieving articles.
most_recent: Retrieves the most recent articles by publication date. semantic (default): Retrieves contextually relevant articles based on the query or the page content from the provided URL. most_recent_semantic: Performs semantic search and retrieves the most recent articles by publication date. trending: Performs a trending search and retrieves the most relevant articles to trending keywords in the past 24 hours.
most_recent, semantic, most_recent_semantic, trending Page number for pagination.
Number of results per page.

