Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions apps/docs/components/icons.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,46 @@
import type { SVGProps } from 'react'
import { useId } from 'react'

export function AdanosIcon(props: SVGProps<SVGSVGElement>) {
const gradientId = useId()

return (
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 417.9 417.45'>
<defs>
<linearGradient
id={gradientId}
x1='208.95'
y1='375.39'
x2='208.95'
y2='-241.72'
gradientUnits='userSpaceOnUse'
>
<stop offset='0' stopColor='#c76745' />
<stop offset='.55' stopColor='#e5b86f' />
<stop offset='.84' stopColor='#f8dda1' />
<stop offset='1' stopColor='#f8ddd9' />
</linearGradient>
</defs>
<path
fill='#c7c7c7'
d='M408.87,309.26l-48.29-20.28-125.96,52.91c-8.16,3.86-16.92,5.8-25.67,5.8s-17.51-1.93-25.67-5.8l-125.96-52.91-48.29,20.28c-5.65,2.71-9.02,8.07-9.02,14.34s3.37,11.63,9.02,14.34l176.75,74.24.06.03c14.69,6.97,31.53,6.97,46.22,0l.13-.06,176.69-74.22c5.65-2.71,9.02-8.07,9.02-14.34s-3.37-11.63-9.02-14.34Z'
/>
<path
fill='#727f87'
d='M408.87,232.67l-48.29-20.28-82.44,34.63-3.96,1.66-3.96,1.66-35.61,14.96c-8.16,3.86-16.92,5.8-25.67,5.8s-17.51-1.93-25.67-5.8l-35.61-14.96-3.96-1.66-3.96-1.66-82.44-34.63-48.29,20.28c-5.65,2.71-9.02,8.07-9.02,14.34s3.37,11.63,9.02,14.34l48.29,20.28,3.96,1.66,3.96,1.66,120.55,50.63.06.03c14.69,6.97,31.53,6.97,46.22,0l.13-.06,120.48-50.61,3.96-1.66,3.96-1.66,48.29-20.28c5.65-2.71,9.02-8.07,9.02-14.34s-3.37-11.63-9.02-14.34Z'
/>
<path
fill='#454e54'
d='M408.87,156.09l-48.29-20.28-82.44,34.63-3.96,1.66-3.96,1.66-35.61,14.96c-8.16,3.86-16.92,5.8-25.67,5.8s-17.51-1.93-25.67-5.8l-35.61-14.96-3.96-1.66-3.96-1.66-82.44-34.63-48.29,20.28c-5.65,2.71-9.02,8.07-9.02,14.34s3.37,11.63,9.02,14.34l48.29,20.28,3.96,1.66,3.96,1.66,82.44,34.63,3.96,1.66,3.96,1.66,30.2,12.68.06.03c14.69,6.97,31.53,6.97,46.22,0l.13-.06,30.13-12.66,3.96-1.66,3.96-1.66,82.44-34.63,3.96-1.66,3.96-1.66,48.29-20.28c5.65-2.71,9.02-8.07,9.02-14.34s-3.37-11.63-9.02-14.34Z'
/>
<path
fill={`url(#${gradientId})`}
d='M408.87,79.5L232.12,5.26l-.06-.03c-14.69-6.97-31.53-6.97-46.22,0l-.13.06L9.02,79.5c-5.65,2.71-9.02,8.07-9.02,14.34s3.37,11.63,9.02,14.34l48.29,20.28,3.96,1.66,3.96,1.66,82.44,34.63,3.96,1.66,3.96,1.66,30.2,12.68.06.03c14.69,6.97,31.53,6.97,46.22,0l.13-.06,30.13-12.66,3.96-1.66,3.96-1.66,82.44-34.63,3.96-1.66,3.96-1.66,48.29-20.28c5.65-2.71,9.02-8.07,9.02-14.34s-3.37-11.63-9.02-14.34Z'
/>
</svg>
)
}

export function EnrichmentIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/components/ui/icon-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import type { ComponentType, SVGProps } from 'react'
import {
AdanosIcon,
AgentMailIcon,
AgentPhoneIcon,
AgiloftIcon,
Expand Down Expand Up @@ -246,6 +247,7 @@ import {
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>

export const blockTypeToIconMap: Record<string, IconComponent> = {
adanos: AdanosIcon,
agentmail: AgentMailIcon,
agentphone: AgentPhoneIcon,
agiloft: AgiloftIcon,
Expand Down
154 changes: 154 additions & 0 deletions apps/docs/content/docs/en/integrations/adanos.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
---
title: Adanos
description: Use stock and crypto market sentiment in workflows
---

import { BlockInfoCard } from "@/components/ui/block-info-card"

<BlockInfoCard
type="adanos"
color="#FFFFFF"
/>

{/* MANUAL-CONTENT-START:intro */}
[Adanos](https://adanos.org/) provides market sentiment data for stocks and cryptocurrencies. The integration can retrieve source-specific stock signals from Reddit, X / FinTwit, financial news, and Polymarket, plus Reddit crypto sentiment.

Create an API key through the [Adanos API documentation](https://api.adanos.org/docs) and enter it in the block. Each workflow uses the supplied key, so requests remain subject to that Adanos account's plan and usage limits.

Stock sources are queried independently. Mention counts from social and news sources and trade counts from Polymarket are normalized as `activityCount`, but should be interpreted in their original source context.
{/* MANUAL-CONTENT-END */}

## Usage Instructions

Retrieve market sentiment, trending assets, and market-wide signals for stocks and cryptocurrencies from Reddit, X / FinTwit, financial news, and Polymarket.



## Actions

### `adanos_stock_sentiment`

Get stock sentiment from Reddit, X / FinTwit, news, or Polymarket

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Adanos API key |
| `ticker` | string | Yes | US stock ticker symbol, such as AAPL |
| `source` | string | Yes | Sentiment source: reddit, x, news, or polymarket |
| `startDate` | string | No | Start date in YYYY-MM-DD format |
| `endDate` | string | No | End date in YYYY-MM-DD format |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `assetType` | string | Asset type |
| `source` | string | Sentiment data source |
| `symbol` | string | Stock ticker symbol |
| `name` | string | Company name |
| `found` | boolean | Whether sentiment data was found |
| `buzzScore` | number | Buzz score from 0 to 100 |
| `sentimentScore` | number | Sentiment score from -1 to 1 |
| `trend` | string | Current sentiment trend |
| `bullishPct` | number | Bullish activity percentage |
| `bearishPct` | number | Bearish activity percentage |
| `activityCount` | number | Mention or trade count |
| `periodDays` | number | Number of days in the period |
| `dailyTrend` | json | Normalized daily sentiment trend |

### `adanos_crypto_sentiment`

Get Reddit market sentiment for a cryptocurrency

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Adanos API key |
| `symbol` | string | Yes | Cryptocurrency symbol, such as BTC |
| `startDate` | string | No | Start date in YYYY-MM-DD format |
| `endDate` | string | No | End date in YYYY-MM-DD format |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `assetType` | string | Asset type |
| `source` | string | Sentiment data source |
| `symbol` | string | Cryptocurrency symbol |
| `name` | string | Cryptocurrency name |
| `found` | boolean | Whether sentiment data was found |
| `buzzScore` | number | Buzz score from 0 to 100 |
| `sentimentScore` | number | Sentiment score from -1 to 1 |
| `trend` | string | Current sentiment trend |
| `bullishPct` | number | Bullish mention percentage |
| `bearishPct` | number | Bearish mention percentage |
| `activityCount` | number | Reddit mention count |
| `periodDays` | number | Number of days in the period |
| `dailyTrend` | json | Normalized daily sentiment trend |

### `adanos_trending`

List trending stocks or cryptocurrencies ranked by market sentiment activity

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Adanos API key |
| `assetType` | string | Yes | Asset type: stocks or crypto |
| `source` | string | No | Stock sentiment source: reddit, x, news, or polymarket |
| `limit` | number | No | Maximum number of assets to return, from 1 to 100 |
| `startDate` | string | No | Start date in YYYY-MM-DD format |
| `endDate` | string | No | End date in YYYY-MM-DD format |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `assets` | array | Trending assets with normalized sentiment metrics |
| ↳ `assetType` | string | Asset type |
| ↳ `source` | string | Sentiment data source |
| ↳ `symbol` | string | Ticker or cryptocurrency symbol |
| ↳ `name` | string | Asset name |
| ↳ `buzzScore` | number | Buzz score from 0 to 100 |
| ↳ `sentimentScore` | number | Sentiment score from -1 to 1 |
| ↳ `trend` | string | Current sentiment trend |
| ↳ `bullishPct` | number | Bullish activity percentage |
| ↳ `bearishPct` | number | Bearish activity percentage |
| ↳ `activityCount` | number | Mention or trade count |

### `adanos_market_sentiment`

Get aggregate market sentiment for stocks or cryptocurrencies

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Adanos API key |
| `assetType` | string | Yes | Asset type: stocks or crypto |
| `source` | string | No | Stock sentiment source: reddit, x, news, or polymarket |
| `startDate` | string | No | Start date in YYYY-MM-DD format |
| `endDate` | string | No | End date in YYYY-MM-DD format |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `assetType` | string | Asset type |
| `source` | string | Sentiment data source |
| `buzzScore` | number | Market buzz score from 0 to 100 |
| `sentimentScore` | number | Aggregate sentiment score from -1 to 1 |
| `trend` | string | Current market sentiment trend |
| `bullishPct` | number | Bullish activity percentage |
| `bearishPct` | number | Bearish activity percentage |
| `activityCount` | number | Aggregate mention or trade count |
| `activeAssets` | number | Number of active assets |
| `drivers` | array | Assets contributing most to market sentiment |
| ↳ `symbol` | string | Ticker or cryptocurrency symbol |
| ↳ `activityCount` | number | Mention or trade count |
| ↳ `buzzScore` | number | Buzz score from 0 to 100 |
| ↳ `sentimentScore` | number | Sentiment score from -1 to 1 |
1 change: 1 addition & 0 deletions apps/docs/content/docs/en/integrations/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"zoom-service-account",
"---All Integrations---",
"a2a",
"adanos",
"agentmail",
"agentphone",
"agiloft",
Expand Down
Loading