# Webcrawl + Vercel AI SDK

Use @webcrawl/client inside AI SDK tools and routes.

Call Webcrawl from Vercel AI SDK apps with @webcrawl/client or REST. Tool wrappers you own; no fictional Webcrawl AI SDK package.

Packages: `@webcrawl/client`, `webcrawl`.

## FAQ

### Is there an official Webcrawl package for the Vercel AI SDK?

No. Use @webcrawl/client (or REST) inside your own AI SDK tool definitions and route handlers. Webcrawl does not publish a separate @webcrawl/ai-sdk package.

### How do credits work from a Vercel app?

Store WEBCRAWL_API_KEY in Vercel env vars and call the hosted API. Free accounts get 1,000 credits a month.

### Can I self-host instead?

Yes. Point @webcrawl/client baseUrl at your self-hosted engine from the MIT webcrawl-anything repo.

HTML: https://webcrawl.app/integrations/vercel-ai-sdk
