Skip to main content
POST
Detect Text Language

Request contract

  • Method and path: POST /apis/v1/api-ninjas/detect-text-language
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/detect-text-language
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
text
string
required

Input text to detect language from. Maximum 1000 characters. For best results, use 10 words or more.

Maximum string length: 1000
Examples:

"This is a sample text to test the language detection API endpoint functionality"

"Bonjour le monde"

"Hola mundo"

Response

Tool result data

iso
string
required
language
string
required