ScrapeNest Translate API

Text translation.

GitHub OpenAPI

Operations 1

POST /v1/translate Translate text between languages #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scrapenest-dev:scrapenest-dev-translate-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scrapenest-dev-translate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScrapeNest Translate API
  description: 'AI search + scraping as an API for developers and AI agents. Send your API key as `Authorization: Bearer sn_...` on every call. Errors are JSON envelopes. The API never answers 502 or 504: an upstream or capacity failure is a 503 with Retry-After.'
  version: 1.0.0
  termsOfService: https://scrapenest.dev/terms
  contact:
    name: ScrapeNest support
    url: https://scrapenest.dev/support
    email: support@scrapenest.dev
servers:
- url: https://scrapenest.dev
security:
- bearerAuth: []
tags:
- name: Translate
  description: Text translation.
paths:
  /v1/translate:
    post:
      tags:
      - Translate
      summary: Translate text between languages
      operationId: translate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TranslateRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranslateResponse'
        '422':
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        4XX:
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        5XX:
          description: Error response in ScrapeNest's standard envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      externalDocs:
        description: Guide and examples
        url: https://scrapenest.dev/docs#ep-translate
components:
  schemas:
    ErrorDetail:
      properties:
        type:
          anyOf:
          - type: string
          - type: 'null'
          title: Type
          description: Machine-readable error type for this item.
        loc:
          anyOf:
          - items: {}
            type: array
          - type: 'null'
          title: Loc
          description: Path to the offending field, e.g. ["body", "query"].
        msg:
          type: string
          title: Msg
          description: Human-readable description of this error item.
      additionalProperties: true
      type: object
      required:
      - msg
      title: ErrorDetail
    ErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
      - error
      title: ErrorEnvelope
    TranslateRequest:
      properties:
        text:
          type: string
          maxLength: 5000
          minLength: 1
          title: Text
        target:
          type: string
          maxLength: 35
          minLength: 2
          title: Target
        source:
          type: string
          maxLength: 35
          title: Source
          default: auto
        include_usage:
          type: boolean
          title: Include Usage
          default: false
      type: object
      required:
      - text
      - target
      title: TranslateRequest
    ErrorBody:
      properties:
        code:
          type: string
          title: Code
          description: Stable machine-readable error code, e.g. "validation_error".
        message:
          type: string
          title: Message
          description: Human-readable summary of the error.
        details:
          anyOf:
          - items:
              $ref: '#/components/schemas/ErrorDetail'
            type: array
          - type: 'null'
          title: Details
          description: Present on validation errors; one entry per offending field.
        retryable:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Retryable
          description: 'Present on some errors: true when the same request may succeed if retried.'
        retry_after:
          anyOf:
          - type: integer
          - type: 'null'
          title: Retry After
          description: 'Present on rate limits and some throttles: seconds to wait before retrying, the same value as the Retry-After header.'
      additionalProperties: true
      type: object
      required:
      - code
      - message
      title: ErrorBody
    UsageBlock:
      properties:
        credits:
          type: integer
          title: Credits
          description: Total credits charged for this call.
        breakdown:
          anyOf:
          - additionalProperties:
              type: integer
            type: object
          - type: 'null'
          title: Breakdown
          description: 'Optional per-component breakdown (e.g. {''search'': 1, ''ai_extract'': 5}).'
      type: object
      required:
      - credits
      title: UsageBlock
    TranslateResponse:
      properties:
        translated:
          type: string
          title: Translated
        detected_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Detected Source
        target:
          type: string
          title: Target
        credits_charged:
          type: integer
          title: Credits Charged
        usage:
          anyOf:
          - $ref: '#/components/schemas/UsageBlock'
          - type: 'null'
        note:
          anyOf:
          - type: string
          - type: 'null'
          title: Note
          description: Set when the translation was adjusted server-side, e.g. auto-detection fell back to a heuristic, a fallback engine was used, or output was truncated to fit upstream limits.
      type: object
      required:
      - translated
      - target
      - credits_charged
      title: TranslateResponse
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your ScrapeNest API key, sent as Authorization: Bearer sn_... on every call. Create keys in the dashboard; a key works once the account''s email is verified.'
externalDocs:
  description: Guides, credit costs and error codes
  url: https://scrapenest.dev/docs