Download OpenAPI specification:Download
The x23.ai API v1 provides access to most of the data available on the x23.ai app.
You must have an API key to use this API.
To obtain an API key:
These are the currently available access tiers.
You can manage your plan and billing anytime via the Pricing Page.
Rate limit per minute, daily quota per day, and max quota per month.
Tier | Rate Limit | Daily Quota | Max Quota |
---|---|---|---|
Free | 1 | 5 | 10 |
Essential | 10 | 1,000 | 10,000 |
Pro | 50 | 50,000 | 1,000,000 |
Agent | 5,000 | 500,000 | 10,000,000 |
A list of the supported protocols/DAOs/communities, and the content item types that can be fetched for each.
The list of supported protocols may be long.
{- "status": "success",
- "result": {
- "protocols": [
- {
- "name": "aave",
- "formattedName": "Aave",
- "supportedItemTypes": [
- "discussion",
- "snapshot",
- "onchain",
- "code",
- "pullRequest"
]
}, - {
- "name": "makerdao",
- "formattedName": "Sky Money",
- "supportedItemTypes": [
- "discussion",
- "code",
- "pullRequest"
]
}
]
}
}
A list of the supported item types.
These usually correspond to a specific data source such as governance forums, snapshot, onchain proposals, etc.
The list of supported item types.
{- "status": "success",
- "result": {
- "itemTypes": [
- "discussion",
- "snapshot",
- "onchain",
- "code",
- "pullRequest"
]
}
}
Retrieve a list of the most recent newsfeed items, in chronological order.
This is the same feed as shown on the main x23.ai newsfeeds.
Request payload
maxUnixTimestamp | number <= 14 days in the past as a unix timestamp Maximum unix timestamp (in seconds). |
protocols | Array of strings Default: [] Protocols to fetch items from. If empty, fetch from all protocols. |
itemTypes | Array of strings Default: [] Item types to fetch. If empty, fetch all item types. |
limit | number Default: 100 Maximum number of items to fetch. |
{- "protocols": [
- "aave"
], - "limit": 3
}
The list of recent feed items
{- "status": "success",
- "result": {
- "recent": [
- {
- "id": 625,
- "title": "Aavechan/v2 deprecation",
- "headline": "Aave V2 Borrowing Disabled to Encourage Migration to V3 with New Risk Parameters",
- "digest": "## What is this about?\\n\\nThis change disables borrowing and adjusts risk parameters for Aave V2 assets on Ethereum, Polygon, and Avalanche networks to encourage migration to Aave V3.\\n\\n## Why is this important?\\n\\nThese changes are designed to mitigate risks from volatile collateral and reduce bad debt for the Aave DAO by further deprecating Aave V2 and accelerating the transition to V3.\\n\\n## How does it work?\\n\\nNew Solidity contracts execute parameter updates on each network...",
- "tldr": "The update disables borrowing and adjusts risk parameters for Aave V2 assets on Ethereum, Polygon, and Avalanche to encourage migration to Aave V3...",
- "created": 1740128787,
- "updated": 1740569117,
- "merged": null,
- "score": 443.6040828084293,
- "state": "open",
- "owner": "bgd-labs",
- "repo": "aave-proposals-v3",
- "protocol": "aave",
- "type": "pullRequest",
}, - {
- "id": 2843,
- "title": "Grant Application - CoW AMM's & LP Tokens in Tycho",
- "headline": "CoWDAO Proposal: $10K xDAI Grant for CoW AMM & LP Integration into Tycho by 2025",
- "digest": "## What is this about?\\n\\n@markus has proposed a grant to integrate CoW AMM's and the trading of CoW AMM LP tokens into Tycho, an open-source swap indexer. The grant is structured around two key milestones:\\n\\n1. **Milestone 1**: Implementation of support for CoW AMM's and CoW AMM LP tokens in Tycho, with a deadline of March 30, 2025. This involves creating a Solidity Adapter Contract...",
- "tldr": "The proposal by @markus for a grant to integrate CoW AMM's and LP tokens into Tycho aims to enhance platform functionality and user experience...",
- "created": 1740091943,
- "updated": 1740572762,
- "score": 1805.8444807993008,
- "author": "markus",
- "protocol": "cowdao",
- "type": "discussion",
}, - {
- "id": "0xe7fb39bd6f16b65d0847cdd6ab6ecef3a6c1e89bd523cf895f3d806c4bb4b1cf",
- "title": "[Temp Check] Unichain and Uniswap v4 Liquidity Incentives",
- "headline": "Uniswap Foundation's Liquidity Incentive Proposal Faces Community Pushback",
- "digest": "## What is this about?\n\nThis proposal, put forward by the Uniswap Foundation with contributions from Gauntlet, seeks to fund liquidity incentive programs for Uniswap v4 and Unichain. The aim is to attract initial liquidity providers (LPs), swappers, and developers to these platforms",
- "tldr": "The proposal by the Uniswap Foundation aims to fund liquidity incentive programs for Uniswap v4 and Unichain to attract liquidity providers...",
- "start": 1740536707,
- "end": 1740968707,
- "score": 2491.500212881955,
- "protocol": "uniswap",
- "type": "snapshot",
}
]
}
}
Retrieves a list of the top scored items, as shown under the Trending section on the x23.ai newsfeeds.
Scores (aka controversy scores) are calculated based on a combination of factors per item type, such as votes, comments, views, authors, etc.
Top score feed request payload
maxUnixTimestamp | number <= 14 days in the past as a unix timestamp Maximum unix timestamp (in seconds). |
protocols | Array of strings Default: [] Protocols to fetch items from. If empty, fetch from all protocols. |
itemTypes | Array of strings Default: [] Item types to fetch. If empty, fetch all item types. |
limit | number Default: 100 Maximum number of items to fetch. |
scoreThreshold | number Default: 3000 Minimum score threshold for items to be included, between 0 and ~5000 |
{- "protocols": [
- "arbitrum"
], - "scoreThreshold": 2200,
- "limit": 3
}
The list of top scored items
{- "status": "success",
- "result": {
- "topRated": [
- {
- "id": "47215139570733026393508270943324710379923699871435188004224569883226292800465",
- "title": "# Arbitrum D.A.O. (Domain Allocator Offerings) Grant Program - Season 3",
- "headline": "Arbitrum DAO Grant Program Seeks $6.75M for Season 3, Adds Orbit Domain",
- "digest": "## What is this about?\n\nThis proposal seeks to renew the Arbitrum D.A.O. Grant Program for a third season, extending its duration to one year. Previously known as the Questbook grant program, it aims to continue supporting projects across four existing domains: New Protocols and Ideas, Dev Tooling, Gaming, and Education/Community/Events, while introducing a fifth domain, Orbit. The total funding requested is $6,750,000, with $1,500,000 allocated to each of the four main domains and $750,000 for the experimental Orbit domain. The program will maintain its structure, allowing grantees to request up to $50,000, with a focus on milestone-based funding. Questbook will remain the technological partner, and specific Domain Allocators (DAs) have been elected for each domain...",
- "voteResults": "## How is the community reacting?\n\nThe proposal has seen participation from 4,417 voters, with a total voting weight of 184,170,893.35. The quorum requirement of 121,701,781.55 has been met, as the total weight for quorum, which includes only \"for\" and \"abstain\" votes, is 163,981,258.48.\n\n- **Voters For:** 2,490 voters with a weight of 130,177,108.19.\n- **Voters Abstain:** 908 voters with a weight of 33,804,150.29.\n- **Voters Against:** 1,019 voters with a weight of 20,189,634.87.\n\nThe community has shown a strong inclination towards supporting the proposal, as indicated by the significant weight of votes in favor.",
- "voteReasons": "**Voted For:**\n\n- Support for the proposal stems from its potential to drive activity within the DAO, with concerns that without such initiatives, the DAO might stagnate.\n- Questbook has been recognized for effectively onboarding grantees, with a reasonable budget request that is competitive in the space, encouraging growth and anticipation for Season 3 results.\n- The grant program is credited with supporting new projects and developers, fostering growth and innovation within the Arbitrum ecosystem. The addition of a new domain for Orbit Chains is seen as a positive expansion.\n \n**Voted Abstain:**\n\n- The abstention was primarily due to late involvement in the DAO, limiting the ability to provide informed feedback.\n- There is a suggestion to focus more on coaching and supporting projects beyond just funding, drawing parallels with successful Web2 accelerator programs.\n- Trust in the current team to make decisions beneficial for the ecosystem was expressed, leading to an abstention rather than opposition.\n\n**Voted Against:**\n\n- Dissatisfaction with the previous round of Questbook applications was a key reason for voting against the proposal.\n- There is a sentiment that the current approach may not be the right path forward.",
- "tldr": "The proposal to renew the Arbitrum D.A.O. Grant Program for a third season seeks $6,750,000 to support projects across five domains, including a new experimental domain called Orbit, with a focus on milestone-based funding and enhanced tracking of grantee progress...",
- "start": 1738858175,
- "end": 1740168683,
- "score": 3126.361280154916,
- "protocol": "arbitrum",
- "governor": "treasuryGovernance",
- "type": "onchain",
}, - {
- "id": 28368,
- "title": "Arbitrum Audit Program",
- "headline": "Arbitrum Proposes $10M Audit Subsidy to Boost Network Security and Scalability",
- "digest": "## What is this about?\\n\\nThe discussion centers on a proposal by @Arbitrum to create an Arbitrum Audit Committee. This committee aims to subsidize audits for projects launching on the Arbitrum network, with a one-year program and a $10 million budget to support around 100 projects. An additional $60,000 is allocated for a technical expert. The committee will include members from the Arbitrum Foundation, Offchain Labs, and a technical expert elected by the DAO, following a strict conflict of interest policy. The proposal outlines criteria for assessing projects, such as technical maturity, team experience...",
- "tldr": "The proposal to establish an Arbitrum Audit Committee aims to subsidize audits for projects on the Arbitrum network with a $10 million budget, fostering development by enhancing scalability and security, though concerns about fair pricing and resource overlap exist...",
- "created": 1738855708,
- "updated": 1740572641,
- "score": 3026.6063129508952,
- "author": "Arbitrum",
- "protocol": "arbitrum",
- "type": "discussion",
}
]
}
}
Retrieve a digest for a specific time period, e.g., daily, weekly, monthly.
The digest can be seen on the x23.ai app when specific protocol filters are applied on the main newsfeed, or on the protocol specific pages (e.g., Aave Newsfeed).
The digest feed is a summary of the most important items from the specified time period, usually limited to the top 3-5 items per protocol.
Digest feed request payload
protocols | Array of strings Default: [] Protocols to fetch items from. If empty, fetch from all protocols. |
timePeriod required | enum Enum: "daily" "weekly" "monthly" The selected time period for the digest. |
unixTimestamp | number Default: null Unix timestamp (in seconds) for the start of the time period. When not provided, the current time is used. |
{- "protocols": [
- "aave"
], - "timePeriod": "daily",
- "unixTimestamp": 1740572893
}
An array of digest items
{- "status": "success",
- "result": {
- "digest": [
- {
- "protocol": "aave",
- "id": "2025-02-26",
- "updated": 1740572893,
- "topScores": {
- "digest": "The proposal to add bCSPX to Aave V3 on the Gnosis Chain is gaining traction, aiming to integrate Real World Asset tokens and offer exposure to S&P 500 returns. This move is seen as a way to enhance Aave's position in RWA lending and bridge TradFi and DeFi. Despite community support, LlamaRisk advises caution due to concerns over pricing volatility and ownership concentration, with no further actions decided yet[1].\n\nChaosLabs and LlamaRisk's proposal to update Aave's price feed for sUSDe and USDe to align with USDT pricing has passed the ARFC Snapshot. This update is intended to reduce liquidation risks and potential bad debt for Aave users, with Ethena's insurance fund providing additional risk mitigation...",
}, - "latest": {
- "digest": "The proposal by ChaosLabs and LlamaRisk to update Aave's price feed for sUSDe and USDe aims to align with USDT pricing, reducing liquidation risks and potential bad debt for Aave users. Ethena's insurance fund provides additional risk mitigation. The proposal has passed the ARFC Snapshot, and the next steps involve the publication and implementation of an AIP, which is currently under review on GitHub[1].\n\nA proposal to add bCSPX to Aave V3 on the Gnosis Chain seeks to integrate Real World Asset tokens, offering exposure to S&P 500 returns and enhancing Aave's position in RWA lending...",
}
}
]
}
}
Performs a keyword search across all content items, with optional filters.
Note: the search is performed on the content items' titles, headlines, digests, and other relevant fields. It will match exact (and slight misspellings) of the keyword(s).
If no results are returned, try shortening your query or using different keywords.
Keyword search request payload
query required | string The keyword(s) to search for. |
sortByRelevance | boolean Default: true Sort results by relevance, if false, sort by date. |
protocols | Array of strings Default: [] Protocols to fetch items from. If empty, fetch from all protocols. |
itemTypes | Array of strings Default: [] Item types to fetch. If empty, fetch all item types. |
limit | number Default: 20 Maximum number of items to fetch. Note: larger values will impact performance. |
{- "query": "optimism grants season 7",
- "sortByRelevance": true,
- "protocols": [
- "optimism"
], - "itemTypes": [
- "officialDoc",
- "discussion"
], - "limit": 20
}
The list of keyword search results
{- "status": "success",
- "result": {
- "results": [
- {
- "id": "Grants Council Charter v0.1.md",
- "digest": "The Optimism Grants Council Season 7 Charter outlines the structure and responsibilities for distributing funds from the Governance Fund. The Council aims to drive Superchain growth metrics like TVL, stablecoin, wrapped asset, and bridged asset TVL...",
- "protocol": "optimism",
- "type": "officialDoc",
}, - {
- "id": 9583,
- "title": "Milestones and Metrics Council - S7 Internal Operating Procedures",
- "headline": "M&M Council Optimistically Streamlines Grant Milestone Management for Season 7",
- "digest": "## What is this about?\\n\\nThe discussion focuses on the internal operating procedures for the Milestones and Metrics Council (M&M Council) during Season 7. The M&M Council is responsible for assessing and tracking milestones for grants that have passed the Grants Council intake process, as well as for grant recipients from previous seasons of the Optimism Grants Council and DAB audit grants...",
- "tldr": "The Milestones and Metrics Council (M&M Council) is refining its internal procedures for managing grant milestones during Season 7, focusing on communication, cycle management, and workflow efficiency using tools like Charmverse...",
- "created": 1737870466,
- "updated": 1738150262,
- "score": 475.5354987128994,
- "author": "Juanbug_PGov",
- "protocol": "optimism",
- "type": "discussion",
}
]
}
}
Performs a RAG/vector search across all content items, with optional filters.
This is useful for Retrieval Augmented Generation (RAG) and 'Related' search, where the search query is used to find similar items based on the query and similarity threshold. This can help with creating more accurate answers to questions, or recommending similar content.
In the background, we create vector embeddings of your query, compare it to all our existing content embeddings, then use cosine vector similarity to find the most similar items. We then filter and return the relevant items as human readable objects.
Note: Vector search does not match exact keywords, but rather finds similar content based on the query. Use keyword search for exact matches, or hybrid search for a combination of both.
RAG search request payload
query required | string The query to perform a similarity/vector search on. |
similarityThreshold | number Default: 0.4 The similarity threshold for the search, between 0 and 1. Higher values are more strictly similar. |
protocols | Array of strings Default: [] Protocols to include in the vector search. If empty, include all protocols. |
itemTypes | Array of strings Default: [] Item types to include in the vector search. If empty, include all item types. |
limit | number Default: 5 Maximum number of items to fetch. |
{- "query": "optimism grants season 7",
- "similarityThreshold": 0.5,
- "protocols": [
- "optimism"
], - "itemTypes": [
- "officialDoc",
- "discussion"
]
}
The list of RAG search results
{- "status": "success",
- "result": {
- "results": [
- {
- "id": 7332,
- "title": "Season 6 Banner",
- "headline": "Optimism Collective's Season 6: Structured Grants and Public Calendar Aim for Transparency",
- "digest": "## What is this about?\\n\\nThe discussion is about the Optimism Collective's announcement for Season 6. The season starts on June 27th and ends on December 11th. Grant applications open on July 18th and occur every three weeks until December...",
- "tldr": "The Optimism Collective's Season 6, running from June 27th to December 11th, offers structured grant application opportunities every three weeks starting July 18th, potentially increasing participation and transparency through a public governance calendar...",
- "created": 1704900758,
- "updated": 1730753133,
- "score": 466.4965065359669,
- "author": "system",
- "protocol": "optimism",
- "type": "discussion",
}, - {
- "id": 9637,
- "title": "Season 7: Grants Are Now Open!",
- "headline": "Season 7 Grants Open: Boost On-Chain Metrics and Earn OP Rewards",
- "digest": "## What is this about?\\n\\nThe discussion is about the opening of Season 7 grants, announced by @brichis. The application process has been simplified and will remain open until May 20th. Projects can apply for grants across multiple chains, including all green and orange chains in the Registry, not limited to OP Mainnet. The focus for this season is on projects that align with key on-chain success metrics...",
- "tldr": "Season 7 grants are open for applications until May 20th, focusing on projects that boost on-chain success metrics like TVL across multiple chains, with a simplified process...",
- "created": 1738971865,
- "updated": 1739210601,
- "score": 894.1355217311711,
- "author": "brichis",
- "protocol": "optimism",
- "type": "discussion",
}
]
}
}
Performs a hybrid search across all content items, with optional filters.
This is a combination of keyword search and RAG/vector search, where the search query is used to find similar items based on the query and similarity threshold, as well as exact matches based on the keywords. The combined results are then deduplicated and returned.
This is ideal for AI assistants, bots, and agents, as it can ensure accurate answers to questions using the most relevant context.
Note: Due to the way the different search methods work, the results should be re-ranked based on your specific use case.
Hybrid search request payload
query required | string The query to perform a hybrid search on. |
protocols | Array of strings Default: [] Protocols to include in the hybrid search. If empty, include all protocols. |
itemTypes | Array of strings Default: [] Item types to include in the hybrid search. If empty, include all item types. |
limit | number Default: 5 Maximum number of items to fetch. |
similarityThreshold | number Default: 0.4 The similarity threshold for the RAG/vector search component, between 0 and 1. Higher values are more strictly similar. |
{- "query": "polygon delisting"
}
The list of hybrid search results
{- "status": "success",
- "result": {
- "keywordCount": 1,
- "ragCount": 5,
- "results": [
- {
- "id": 16311,
- "title": "[ARFC] Recommendation to freeze and set LTV to 0 on low-cap Aave v3 Polygon collateral assets",
- "digest": "## What is this about?\\n\\nThe discussion is centered on a proposal by @Gauntlet [1] to freeze and set the Loan-to-Value (LTV) to 0 for certain low-cap collateral assets on Aave v3 Polygon, specifically DPI, BAL, CRV, and SUSHI. The goal is to improve capital efficiency by focusing on assets that contribute more to the protocol's reserve growth. The community is involved in providing feedback, and separate snapshots for each collateral asset will be taken to decide on their potential delisting...",
- "tldr": "Aave v3 Polygon is considering freezing the LTV at 0 for certain low-cap assets (DPI, BAL, CRV, SUSHI) to improve capital efficiency, with community feedback and separate Snapshot votes guiding the decision-making process. While the proposal could enhance reserve growth...",
- "created": 1705594672,
- "updated": 1707347175,
- "score": 13.314973600800743,
- "author": "Gauntlet",
- "protocol": "aave",
- "type": "discussion",
}
]
}
}