> ## Documentation Index
> Fetch the complete documentation index at: https://docs.near.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a platform service

> Returns one platform service and its price by name, for example `web_search`. No credential is needed.



## OpenAPI

````yaml /api-reference/cloud-platform-openapi.json get /v1/services/{service_name}
openapi: 3.1.0
info:
  description: Account, organization, workspace and billing routes of NEAR AI Cloud.
  title: NEAR AI Cloud Platform API
  version: '5'
servers:
  - url: https://cloud-platform.near.ai
    description: NEAR AI Cloud Platform
security: []
paths:
  /v1/services/{service_name}:
    get:
      tags:
        - Services
      summary: Get a platform service
      description: >-
        Returns one platform service and its price by name, for example
        `web_search`. No credential is needed.
      operationId: get_service
      parameters:
        - description: The service name, for example `web_search`.
          in: path
          name: service_name
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceResponse'
          description: The service.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: No such service.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal error.
components:
  schemas:
    ServiceResponse:
      description: A platform service that is billed per use, such as web search.
      properties:
        costPerUnit:
          description: Price per unit in nano-USD (10^-9 USD).
          format: int64
          type: integer
        createdAt:
          format: date-time
          type: string
        description:
          type:
            - string
            - 'null'
        displayName:
          type: string
        serviceName:
          type: string
        unit:
          description: What one charge covers. Currently always `request`.
          example: request
          type: string
        updatedAt:
          format: date-time
          type: string
      required:
        - serviceName
        - displayName
        - unit
        - costPerUnit
        - createdAt
        - updatedAt
      type: object
    ErrorResponse:
      description: The body of every error answer on the user routes.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      type: object
    ErrorDetail:
      properties:
        code:
          type:
            - string
            - 'null'
        message:
          type: string
        param:
          type:
            - string
            - 'null'
        type:
          type: string
      required:
        - message
        - type
      type: object

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.