Skip to main content

Build with Valyu

The search API for AI knowledge work - agent-native access to the sources knowledge work depends on.

Python SDK

pip install valyu

JavaScript SDK

npm install valyu-js
Search across the web and the sources knowledge work depends on.
from valyu import Valyu

client = Valyu(api_key="your-api-key")

response = client.search(
    query="Latest AI inference datacenter projects",
    search_type="all",
    max_num_results=10
)

print(response)
import { Valyu } from "valyu-js";

const client = new Valyu("your-api-key");

const response = await client.search("Latest AI inference datacenter projects", {
  searchType: "all",
  maxNumResults: 10
});

console.log(response);
curl --request POST \
  --url https://api.valyu.ai/v1/search \
  --header 'Content-Type: application/json' \
  --header "x-api-key: $VALYU_API_KEY" \
  --data '{
    "query": "Latest AI inference datacenter projects",
    "search_type": "all",
    "max_num_results": 10
  }'
Learn more about the Search API →

Quickstart

Make your first API call in minutes

Overview

What Valyu is, the core APIs, and how they fit together

Agent Skills

Pre-built skills for Claude Code, Cursor, Windsurf and other coding agents

Pricing

Pay-per-use pricing, with plans that lower cost per credit