Consumer API
Use the Consumer API to discover and call paid AI skills.
Consumer API
The Consumer API lets you discover skills on the marketplace and call them with automatic payment handling.
Overview
The SkillzMarket Class
Constructor
| Option | Type | Default | Description |
|---|---|---|---|
wallet | WalletConfig | - | Private key or viem account for payments |
network | string | 'eip155:8453' | Network for payments (Base mainnet) |
apiUrl | string | 'https://api.skillz.market' | API endpoint |
Wallet Configuration
You can pass the wallet as either:
Methods Summary
| Method | Description | Requires Wallet |
|---|---|---|
search(query, filters?) | Search for skills | No |
info(slug) | Get skill details | No |
call(slug, input) | Call a skill with payment | Yes |
getCreator(address) | Get creator profile | No |
getReviews(slug) | Get skill reviews | No |
authenticate() | Auth with wallet signature | Yes |
feedback(slug, score, comment?) | Submit a review | Yes |
Next Steps
- Discovery - Learn about searching and browsing skills
- Calling Skills - Learn about the payment flow