Docs menuSearch Packages

API reference

Search Packages

POST /packages/search · Packages and datasets

View .md

POSThttps://api.clawifi.dev/packages/search1 credit per call

  • Send your key as Authorization: Bearer $CLAWIFI_API_KEY; see Authentication.
  • Add "dry_run": true (or ?dry_run=true) to see what the call would cost; nothing runs and nothing is charged.
  • Credits: 1 per call (search, plain fetch/scrape, article extract, package/dataset/code/archive/academic lookup, single OSINT lookup, social reads). Every price is on Pricing and credits.

Request#

curl -X POST https://api.clawifi.dev/packages/search \
  -H "Authorization: Bearer $CLAWIFI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"what is the Model Context Protocol"}'

Body

FieldTypeDefaultRequired
ecosystemsarray of "pypi" | "npm" | "crates" | "maven" | "nuget" | "rubygems" | "packagist" | "pub"no
max_results_per_ecosysteminteger5no
querystringyes

Response#

200 with a PackageSearchResponse object: ecosystems, errors, paid_providers_used, query, result_count, results, searched_count, success.

Errors use the shared shape; see Errors. Try public operations without a key in the playground.

Was this page helpful? Tell us · Last updated 2026-10-22