LaunchKit · 2026
Back to Skills

xapi-labs

Aggregated API platform for AI agents.

0
1.1k downloads
by @glacier-luo

Setup & Installation

openclaw skills install @glacier-luo/xapi-labs

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install xapi-labs

Version History

v1.0.3Mar 13, 2026 - Version note by skill developer:

- Updated all CLI usage examples and setup instructions to use the new npx entrypoint: npx xapi-to (was npx @xapi-to/xapi) - Revised command syntax throughout documentation for consistency with the new CLI alias xapi-to - Updated references and examples for registration, configuration, and workflow steps to reflect the new npx usage - No feature or functional changes; documentation update only

What This Skill Does

xapi is a CLI tool for accessing real-time external data and third-party APIs from the terminal. It provides built-in capabilities for Twitter/X, crypto prices, web search, news, and AI text processing, plus proxy access to services like Reddit, Serper, and OpenRouter. All output is JSON by default, making it easy to chain with other tools.

One CLI covers Twitter data, crypto, web search, and AI text tasks that would otherwise require separate API keys and SDKs for each service.

When to use it

  • Look up a Twitter user's profile and recent tweets
  • Check current BTC or ETH price and 24h change
  • Search the web or latest news for a keyword
  • Summarize or rewrite a block of text via AI
  • Find and call a third-party API without writing integration code

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Get the last 10 tweets from @elonmusk

AGENT
  1. 1Run `npx @xapi-to/xapi call twitter.user_by_screen_name --input '{"screen_name":"elonmusk"}'` to get the numeric user_id
  2. 2Extract `user_id` from the JSON response
  3. 3Run `npx @xapi-to/xapi call twitter.user_tweets --input '{"user_id":"44196397","count":10}'`
  4. 4Parse the JSON output to extract tweet text and metadata
OUTPUT

JSON array of the 10 most recent tweets from the account

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

XAPI_API_KEY — register at xapi.to or via `npx @xapi-to/xapi register`Paid xapi account balance for API callsTwitter OAuth binding (for write actions like posting tweets)