Skip to main content
A programmatic deep research engine. Add web search and AI-powered research to your app—let your users get answers with citations, or run comprehensive multi-step research.
Web data only. This searches publicly available web content. For comprehensive legal research (case law, statutes, regulations), use specialized platforms like Lexis, Westlaw, or OpenLaws.

Quick start

curl -X POST https://api.case.dev/search/v1/answer \
  -H "Authorization: Bearer $CASEDEV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "What is the statute of limitations for medical malpractice in California?",
    "includeDomains": ["law.cornell.edu", "findlaw.com"]
  }'
casedev search:v1 answer \
  --query "What is the statute of limitations?"
import Casedev from 'casedev';

const client = new Casedev({ apiKey: process.env.CASEDEV_API_KEY });

// Answer your user's question with citations
const answer = await client.search.v1.answer({
  query: userQuestion,
  includeDomains: ['law.cornell.edu', 'findlaw.com']
});

// Return answer with sources to your user
console.log(answer.answer);
// "In California, the statute of limitations for medical malpractice
//  is 3 years from the date of injury or 1 year from discovery [1]..."

console.log(answer.citations);
import casedev

client = casedev.Casedev(api_key=os.environ['CASEDEV_API_KEY'])

# Answer your user's question with citations
answer = client.search.v1.answer(
    query=user_question,
    include_domains=['law.cornell.edu', 'findlaw.com']
)

# Return answer with sources to your user
print(answer.answer)
print(answer.citations)
result, _ := client.Search.V1.Answer(ctx, casedev.SearchV1AnswerParams{
	Query: casedev.F("What is the statute of limitations?"),
})
fmt.Println(result.Answer)
for _, c := range result.Citations {
	fmt.Printf("[%s] %s: %s\n", c.ID, c.Title, c.URL)
}

Endpoints

Search

POST /search/v1/search — Web search with domain filtering

AI Answer

POST /search/v1/answer — Get AI answers with citations

Research

POST /search/v1/research — Deep multi-step research

Use cases

Build these capabilities for your users:
FeatureEndpointExample
Research assistant/researchLet users research topics and get comprehensive reports
Fact verification/answerVerify claims with sourced answers
News monitoring/searchMonitor web for relevant news and updates
Background research/searchFind public records and business information

LLMs

Combine search results with LLMs for deeper analysis and synthesis

Format

Generate polished research reports from search results