Install
openclaw skills install smart-api-connectorConnect to any REST API using the agent's built-in web_fetch. Handles authentication headers, JSON payloads, error parsing, and retries. Use when: user wants to query an API, test an endpoint, automate API calls, parse API responses, or integrate with external services. Homepage: https://clawhub.ai/skills/smart-api-connector
openclaw skills install smart-api-connectorInstall: clawhub install smart-api-connector
REST API integration using built-in tools. No code, no curl, no dependencies.
Detect from user's message language. Default: English.
User provides: API URL + what they want. Agent handles everything.
User: "Hent brukerinfo fra https://api.example.com/v1/users/123"
Agent runs:
web_fetch https://api.example.com/v1/users/123(with auth headers if provided)Returns parsed response.
web_fetch url --headers '{"Authorization": "Bearer KEY", "X-API-Key": "KEY"}'
exec: API_KEY="your_key" curl -s -H "Authorization: Bearer $API_KEY" "https://..."
API keys provided in conversation are used in-session only. Never persisted to files.
| HTTP Status | Action |
|---|---|
| 200-299 | Parse and return response |
| 429 | Rate limited — wait and retry (max 3 retries) |
| 400 | Bad request — show error, suggest fix |
| 401/403 | Auth failed — check key, permissions |
| 404 | Not found — verify URL |
| 5xx | Server error — retry once, then report |
| Method | Use Case |
|---|---|
| GET | Fetch data |
| POST | Create data / send JSON body |
| PUT | Update data |
| DELETE | Remove data |
For POST/PUT: prompt user for JSON body if not provided.
Always extract and present the useful parts. For JSON APIs:
Response:
Name: John
Email: john@example.com
Created: 2026-03-28
Raw: {first 200 chars if user wants detail}
| User says | Action |
|---|---|
| "query {url}" | GET request |
| "POST to {url}" | POST with body |
| "test API {url}" | Request + show response |
| "API health check" | GET and report status |
Install the full suite:
clawhub install smart-api-connector workflow-builder-lite context-brief setup-doctor