Crypto God

Crypto God · Actions GPT

Cryptocurrency Data API

Provides detailed information and real-time price data for cryptocurrencies.

  • GET /coin/{coinUuid}Get Cryptocurrency Information
  • GET /coin/{coinUuid}/priceGet Real-Time Cryptocurrency Price
Schéma original API
openapi: 3.1.0
info:
  title: Cryptocurrency Data API
  description: Provides detailed information and real-time price data for cryptocurrencies.
  version: 1.0.0
servers:
  - url: 'https://coinranking1.p.rapidapi.com'
paths:
  /coin/{coinUuid}:
    get:
      summary: Get Cryptocurrency Information
      operationId: getCryptocurrencyInfo
      parameters:
        - name: coinUuid
          in: path
          required: true
          description: Unique identifier for the cryptocurrency
          schema:
            type: string
        - name: referenceCurrencyUuid
          in: query
          required: false
          description: Reference currency UUID for converting the prices
          schema:
            type: string
        - name: timePeriod
          in: query
          required: false
          description: Time period for the price change statistics
          schema:
            type: string
      responses:
        '200':
          description: Detailed information about the cryptocurrency
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptocurrencyInfo'
  /coin/{coinUuid}/price:
    get:
      summary: Get Real-Time Cryptocurrency Price
      operationId: getCryptocurrencyPrice
      parameters:
        - name: coinUuid
          in: path
          required: true
          description: Unique identifier for the cryptocurrency
          schema:
            type: string
        - name: referenceCurrencyUuid
          in: query
          required: false
          description: Reference currency UUID for converting the price
          schema:
            type: string
      responses:
        '200':
          description: Real-time price of the cryptocurrency
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CryptocurrencyPrice'
components:
  schemas:
    CryptocurrencyInfo:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            coin:
              $ref: '#/components/schemas/Coin'
    CryptocurrencyPrice:
      type: object
      properties:
        status:
          type: string
        data:
          type: object
          properties:
            price:
              type: string
            timestamp:
              type: integer
    Coin:
      type: object
      properties:
        uuid:
          type: string
        symbol:
          type: string
        name:
          type: string
        description:
          type: string
        color:
          type: string
        iconUrl:
          type: string
        websiteUrl:
          type: string
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
        supply:
          type: object
          properties:
            confirmed:
              type: boolean
            circulating:
              type: string
            total:
              type: string
        marketCap:
          type: string
        price:
          type: string
        btcPrice:
          type: string
        change:
          type: string
        rank:
          type: integer
        numberOfMarkets:
          type: integer
        numberOfExchanges:
          type: integer
        sparkline:
          type: array
          items:
            type: string
        allTimeHigh:
          type: object
          properties:
            price:
              type: string
            timestamp:
              type: integer
    Link:
      type: object
      properties:
        name:
          type: string
          description: The display name of the link.
        url:
          type: string
          description: The URL of the link.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-RapidAPI-Key
security:
  - ApiKeyAuth: []

Bloomberg Market and Financial News API

This API provides access to market data and financial news, including search functionality for company-specific information.

  • GET /market/auto-completeRetrieve financial data and news for a specific query.
Schéma original API
openapi: 3.1.0
info:
  title: Bloomberg Market and Financial News API
  description: This API provides access to market data and financial news, including search functionality for company-specific information.
  version: 1.0.0
servers:
  - url: 'https://bloomberg-market-and-financial-news.p.rapidapi.com'
paths:
  /market/auto-complete:
    get:
      summary: Retrieve financial data and news for a specific query.
      operationId: getFinancialData # Unique identifier for the operation
      parameters:
        - name: query
          in: query
          required: true
          description: Search query for the financial data, e.g., 'TESLA'.
          schema:
            type: string
      responses:
        '200':
          description: Data retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  # Example property structure based on expected response
                  ticker:
                    type: string
                    description: The stock ticker symbol.
                  name:
                    type: string
                    description: The name of the company or entity.
                  # Add additional properties as per the API response
        '400':
          description: Bad Request - The request was unacceptable, often due to missing a required parameter.
        '401':
          description: Unauthorized - No valid API key provided.
        '404':
          description: Not Found - The requested resource doesn't exist.
        '5XX':
          description: Server Errors - Something went wrong on the API end.
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-RapidAPI-Key
  schemas:
    FinancialData:
      type: object
      properties:
        ticker:
          type: string
          description: The stock ticker symbol.
        name:
          type: string
          description: The name of the company or entity.
        # Define additional properties based on the API response structure
security:
  - ApiKeyAuth: []