Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

CoinGecko Supported Currencies List

Документация API
https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies

Supported Currencies List from CoinGecko. Returns the official CoinGecko API response unchanged.

Цена
$0.008USD / вызов
Метод
POST
Ответ
JSON
Параметры
0 обязательных · 0 необязательных

Песочница

Ввод
Схема ввода недоступна
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

CoinGecko Supported Currencies List API

Returns the list of currency codes that CoinGecko supports, as a flat JSON array of lowercase strings. The request takes no input.

Use cases

  • Fill a currency dropdown with only the codes CoinGecko supports.
  • Check that a code such as eth or btc is on the supported list before you send it in another CoinGecko request.
  • Compare the list with your own stored list to spot codes that were added or removed.

Request

curl -X POST "https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

The result is returned in outputs[0].data.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

[
  "btc"
]

Response fields

FieldMeaning
[]The full response is an array. Each item is one supported currency code as a lowercase string.
[0]The first code in the array. In the sample response it is btc.
[1] / [2]Further codes in the array. In the sample response they are eth and ltc.

Notes

Pricing

$0.008 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
CoinGecko$0.008 за запросJSON
CoinGecko$0.008 за запросJSON
CoinGecko$0.008 за запросJSON
CoinGecko$0.008 за запросJSON
CoinGecko$0.008 за запросJSON
CoinGecko$0.008 за запросJSON

Вопросы

FAQ

Как использовать API CoinGecko Supported Currencies List?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/coingecko/simple-supported-vs-currencies, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API CoinGecko Supported Currencies List?

$0.008 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API CoinGecko Supported Currencies List?

CoinGecko Supported Currencies List не принимает входных параметров; отправьте пустое тело JSON.

Что возвращает API CoinGecko Supported Currencies List?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика CoinGecko или API key?

Нет. CoinGecko Supported Currencies List работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API CoinGecko.