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

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);

Endpoints

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