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

# Estimate a cost

> List price for a number of items on one platform.



## OpenAPI

````yaml /openapi.json post /api/v1/pricing/calculate_cost/
openapi: 3.0.3
info:
  title: Go-Fetch API
  version: v1
servers:
  - url: https://go-fetch.io
security: []
tags:
  - name: Jobs
    description: >-
      A job is one scrape. Create it with a scraper type and its input, follow
      it until it is completed, failed, timed_out or cancelled, then page
      through its results.
  - name: Webhooks
    description: >-
      URLs we POST to when a job finishes, signed with your webhook secret in
      the X-Webhook-Signature header, and the log of every delivery.
  - name: Usage
    description: Billable usage, one record per charge.
  - name: Pricing
    description: List prices per platform and a cost estimate. No API key needed.
  - name: API keys
    description: >-
      Your organization's API keys. Creating, changing and rotating a key needs
      a key with the admin scope.
  - name: Organizations
    description: >-
      The organization your key belongs to: its environments, members, this
      month's usage and the audit log.
paths:
  /api/v1/pricing/calculate_cost/:
    post:
      tags:
        - Pricing
      summary: Estimate a cost
      description: List price for a number of items on one platform.
      operationId: pricing_calculate_cost_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CostEstimateRequestRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CostEstimateRequestRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/CostEstimateRequestRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CostEstimate'
          description: ''
      security:
        - ApiKeyAuth: []
        - {}
components:
  schemas:
    CostEstimateRequestRequest:
      type: object
      properties:
        platform:
          type: string
          minLength: 1
          description: For example instagram, youtube, tiktok or facebook.
        items_count:
          type: integer
          minimum: 0
      required:
        - items_count
        - platform
    CostEstimate:
      type: object
      properties:
        platform:
          type: string
        num_items:
          type: integer
        price_per_1000:
          type: string
          description: USD, as a decimal string.
        price_per_item:
          type: string
          description: USD, as a decimal string.
        total_cost:
          type: string
          description: USD, as a decimal string.
        currency:
          type: string
      required:
        - currency
        - num_items
        - platform
        - price_per_1000
        - price_per_item
        - total_cost
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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