How API Integrations Work
API Integrations are registered as providers in the Marketplace. Each provider exposes one or more endpoints — specific data queries with defined parameters and output. When Zark discovers a provider through the Marketplace, its endpoints become available for your request.Provider Types
| Type | Description | Examples |
|---|---|---|
| Built-in | Pre-configured providers maintained by Zark Lab | Core analytics, market data |
| Community | Providers built and published by the community | Social analytics, sports data, specialized APIs |
| Custom | Providers you configure with your own API keys | Any REST API with a defined schema |
Using a Provider via the API
Providers are discovered automatically. Just ask your question and Zark finds the right one:Combining with Core Tools
API Integrations work alongside core tools for complex requests: “Get the top 10 DeFi protocols by TVL and create a comparison report” Zark fetches data from an API Integration, then passes the results to Artifact Creator to generate the document. “Find the highest-volume trading pairs and calculate statistical significance” Zark fetches data from an API Integration, then passes it to Code Runner for the computation.Results
API Integration results include structured data that can be displayed as tables, saved to your Space, or passed to other tools for further analysis:Python
Streaming Events
| Event | Description |
|---|---|
table | Structured data with rows, columns, and metadata |
ai_chunk | Analysis and interpretation of the results |
ai_complete | Final response |