---
title: "Parse document content and metadata using Apache Tika"
method: POST
path: "/v1/parser"
tags: ["Parser"]
---

# Parse document content and metadata using Apache Tika

`POST /v1/parser`

## Request

- Base URL: `https://apipie.ai`
- URL: `https://apipie.ai/v1/parser`
- Auth: API key in header `Authorization`

Uses Apache Tika server to extract metadata and/or content from supported document types. Accepts PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, TXT, RTF, ODT, ODP, ODS, EPUB, HTML & XML. Supports file uploads under 5MB. Returns text content and/or metadata.

## Response `200`

Successfully parsed document with metadata and/or content

- ParserResponse: Response containing parsed document data from Tika
  - `metadata` object: Document metadata extracted by Tika
  - `content` string: Text content extracted from the document

## Other responses

- `400`: Invalid request - missing file, unsupported file type, or file too large
- `500`: Internal server error or Tika service unavailable

---

[API](https://skmtc.dev/apipie/apis/introduction.md) · [All operations](https://skmtc.dev/apipie/apis/introduction/llms.txt) · [OpenAPI document](https://skmtc.dev/apipie/apis/introduction/revisions/f8386be4eb3f?raw)
