# कॉन्ट्रैक्ट से कॉइन ऐतिहासिक चार्ट

**API:** Data API

**Endpoint:** `GET /v1/beta/coingecko/coins/{id}/contract/{contract_address}/market_chart`

**Tags:** CoinGecko

कॉन्ट्रैक्ट पते से पहचाने गए टोकन के लिए, `days` से तय पिछली विंडो पर ऐतिहासिक श्रृंखला। `id` एसेट प्लेटफ़ॉर्म है, `contract_address` टोकन। `prices`, `market_caps` और `total_volumes` को टाइमस्टैम्प-और-मान जोड़ों के रूप में लौटाता है, टाइमस्टैम्प मिलीसेकंड में — `get_coingecko_coins_id_market_chart` जैसा ही आकार। जब आपके पास CoinGecko id के बजाय पता हो तो उपयोग करें। स्पष्ट आरंभ और अंत के लिए `get_coingecko_token_market_chart_range` का उपयोग करें।

### मूल्य संदर्भ

- मीटरिंग: प्लान रिसोर्स यूनिट
- संदर्भ request अनुमान: USD 0.008
- यूनिट लागत आधार: USD 0.0
- रिसोर्स यूनिट: `provider_credit`
- लागत आधार अंतिम ग्राहक मूल्य तय नहीं करते, शून्य होने पर भी नहीं।

यह केवल संदर्भ मेटाडेटा है — खाते का कोटेशन, गारंटीशुदा मूल्य या खर्च सीमा नहीं। रिसोर्स क्रेडिट Felo क्रेडिट नहीं हैं। अंतिम शुल्क Felo बिलिंग रिकॉर्ड के अनुसार लगते हैं।

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `contract_address` | path | yes | string, default: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" | टोकन का कॉन्ट्रैक्ट पता। |
| `id` | path | yes | string, default: "ethereum" | एसेट प्लेटफ़ॉर्म ID। *[`/asset_platforms`](/reference/asset-platforms-list) देखें |
| `days` | query | yes | string, default: "1" | कितने दिन पहले तक का डेटा। दिनों की संख्या के लिए कोई भी पूर्णांक या `max` उपयोग कर सकते हैं। |
| `interval` | query | no | string, enum: "1m", "5m", "hourly", "daily" | डेटा अंतराल, ऑटो ग्रैन्युलैरिटी के लिए खाली छोड़ें। |
| `precision` | query | no | string, enum: "full", "0", "1", "2", "3", "4", … | करेंसी मूल्य मान के लिए दशमलव स्थान। |
| `vs_currency` | query | yes | string, default: "usd" | मार्केट डेटा की लक्ष्य करेंसी। *[`/simple/supported_vs_currencies`](/reference/simple-supported-currencies) देखें |

## Responses

### 200 — टोकन पते से कॉइन ऐतिहासिक चार्ट डेटा

Headers:
- `X-Request-Id` (string) — Felo सहायता से संपर्क करते समय शामिल करने के लिए request पहचानकर्ता।

**application/json**

Schema: `Response860C3Ae68Ea5_CoinsMarketChart` (`#/components/schemas/Response860C3Ae68Ea5_CoinsMarketChart`)

Example:

```json
{
  "prices": [
    [
      1779619498604,
      0.9997624087636037
    ],
    [
      1779619877081,
      0.9997817655336941
    ]
  ],
  "market_caps": [
    [
      1779619498604,
      76419636272.78033
    ],
    [
      1779619877081,
      76424065983.84229
    ]
  ],
  "total_volumes": [
    [
      1779619498604,
      9374311493.936354
    ],
    [
      1779619877081,
      9390008044.485624
    ]
  ]
}
```

### 400 — request संसाधित नहीं किया जा सका। request पैरामीटर जाँचें।

### 401 — एक वैध Felo API key आवश्यक है।

### 402 — request आगे नहीं बढ़ सकता क्योंकि बिलिंग आवश्यकता पूरी नहीं हुई है।

### 403 — खाते को यह ऑपरेशन करने की अनुमति नहीं है।

### 429 — request या खर्च की सीमा तक पहुँच गए हैं।

### 502 — सेवा request पूरा नहीं कर सकी।

### 503 — API या बिलिंग सेवा अस्थायी रूप से उपलब्ध नहीं है।

### 504 — request संसाधित करते समय सेवा का समय समाप्त हो गया।

### default — त्रुटि response; upstream passthrough response प्रोवाइडर फ़ॉर्मेट का उपयोग कर सकते हैं।

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_CoinsMarketChart

`#/components/schemas/Response860C3Ae68Ea5_CoinsMarketChart`

```json
{
  "type": "object",
  "required": [
    "prices",
    "market_caps",
    "total_volumes"
  ],
  "properties": {
    "prices": {
      "type": "array",
      "description": "[timestamp, price] जोड़ियों के रूप में कीमत डेटा पॉइंट",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      }
    },
    "market_caps": {
      "type": "array",
      "description": "[timestamp, market_cap] जोड़ियों के रूप में मार्केट कैप डेटा पॉइंट",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      }
    },
    "total_volumes": {
      "type": "array",
      "description": "[timestamp, volume] जोड़ियों के रूप में कुल वॉल्यूम डेटा पॉइंट",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      }
    }
  }
}
```
