zyla-api-hub-skill
This skill connects an OpenClaw agent to Zyla API Hub and provides CLI and plugin tools to call external APIs. It reads and writes the ZYLA_API_KEY, opens http://127.0.0.1 for OAuth callbacks, and instructs running npx tsx scripts and editing ~/.openclaw/openclaw.json.
Zyla API Hub Skill for OpenClaw
Turn your OpenClaw AI agent into a real-world operator. Power it with 10,000+ production-ready APIs from Zyla API Hub — instant access to weather, finance, translation, email validation, geolocation, and more, all through one unified API key, pay-as-you-go pricing, and zero vendor lock-in.
Installation
openclaw plugins install @zyla-labs/zyla-api-hub
Or install via ClawHub:
clawhub install zyla-api-hub-skill
Quick Setup
Option A: Automatic (recommended)
- Type
/zyla connectin your OpenClaw chat - Browser opens to Zyla API Hub — register or log in
- API key is captured automatically and saved to your config
- Done! Start using APIs immediately.
Option B: Manual
- Visit https://zylalabs.com/openclaw/connect
- Register or log in
- Copy your API key
- Add to
~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"zyla-api-hub-skill": {
"enabled": true,
"apiKey": "YOUR_API_KEY_HERE",
"env": {
"ZYLA_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}
}
Usage
Just ask your agent naturally:
- "What's the weather in New York?"
- "Convert 100 USD to EUR"
- "Validate this email: test@example.com"
- "Find me a recipe API"
Slash Commands
| Command | Description |
|---|---|
/zyla connect | Link your Zyla account (opens browser) |
/zyla status | Check plan and usage stats |
CLI Scripts
# Search for APIs
npx tsx scripts/zyla-catalog.ts search "weather"
# Call an API
npx tsx scripts/zyla-api.ts call --api 781 --endpoint 1234 --params '{"zip":"10001"}'
# Check health
npx tsx scripts/zyla-api.ts health
Pricing
Pay-as-you-go — no monthly fee. You only pay per API call based on each API's rate. Billing happens at the end of each cycle via Stripe.
Updating Popular APIs
The SKILL.md includes a "Popular APIs" section with the top 20 APIs embedded for instant access. To regenerate it from the live catalog:
npx tsx scripts/generate-popular.ts
Then paste the output between the <!-- POPULAR_APIS_START --> and <!-- POPULAR_APIS_END --> markers in SKILL.md.
Development
cd openclaw-skill
npm install
npm run catalog # Test catalog browsing
npm run api # Test API calls
License
MIT