PicDefense Text API
Extract text from an image via OCR. Consumes 0.03 credits on success.
Extract text from an image via OCR. Consumes 0.03 credits on success.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/picdefense-io:picdefense-io-text-api"
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.
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: 3.2.0
info:
title: PicDefense.io APIv2 Text API
description: 'API Documentation for PicDefense.io
All endpoints require an API TOKEN in header ''X-API-TOKEN''.
Your X-API-TOKEN is user id and api key seperated by a colon. Example: USERID:APIKEY
Please visit the Settings page for these details.'
termsOfService: https://picdefense.io/terms-conditions/
contact:
name: API Support
url: https://help.picdefense.io/
version: '2'
servers:
- url: https://app.picdefense.io/api/v2
tags:
- name: Text
description: Extract text from an image via OCR. Consumes 0.03 credits on success.
paths:
/text:
post:
tags:
- Text
summary: extract text from an image (OCR)
description: Returns text extracted from the image via OCR. Consumes 0.03 credits on success.
operationId: text
requestBody:
description: image URL
content:
application/json:
schema:
type: object
properties:
url:
type: string
format: url
example: http://example.com/image.jpg
description: The URL of the image to check. Must be publicly accessible.
required: true
responses:
'200':
description: succeeded
content:
application/json:
schema:
type: object
properties:
status:
type: integer
format: int32
example: 1
message:
type: string
example: succeeded
error:
type: string
example: none
data:
type: object
properties:
text:
type: object
properties:
detected:
type: boolean
example: true
description: Whether any text was found via OCR
fullText:
type: string
example: © 2026 Example Studio
description: Full extracted text, whitespace-collapsed (capped at 10000 characters)
words:
type: array
items:
type: string
example:
- ©
- '2026'
- Example
- Studio
description: Individual detected words (capped at 1000 entries)
truncated:
type: boolean
example: false
description: True when fullText or words were capped
'401':
description: failed - unauthorized
content:
application/json:
schema:
type: object
properties:
status:
type: integer
format: int32
example: -1
message:
type: string
example: failed
error:
type: string
example: unauthorized
data:
type: object
properties: {}
'403':
description: failed - insufficient credits
content:
application/json:
schema:
type: object
properties:
status:
type: integer
format: int32
example: -1
message:
type: string
example: failed
error:
type: string
example: insufficient credits
data:
type: object
properties: {}
'500':
description: failed - unknown server error
content:
application/json:
schema:
type: object
properties:
status:
type: integer
format: int32
example: -1
message:
type: string
example: failed
error:
type: string
example: unknown server error
data:
type: object
properties: {}
security:
- apiAuth: []
components:
securitySchemes:
apiAuth:
type: apiKey
description: 'Your X-API-TOKEN is user id and api key seperated by a colon. Example: USERID:APIKEY'
name: X-API-TOKEN
in: header
externalDocs:
description: Find out more about PicDefense.io
url: http://picdefense.io