For Developers

API Documentation

Integrate metadata removal into your applications with our simple REST API

Premium Subscription Required

Quick Start

  1. 1 Subscribe to Premium plan — View Plans
  2. 2 Generate your API key in your account settings
  3. 3 Start making API requests using the examples below

Endpoint

POST https://metascrub.xyz/api/v1/remove-metadata

Headers

X-API-Key: your_api_key_here

Request Body

Content-Type: multipart/form-data
file: Your file to process

Rate Limits

100 requests per hour

Supported Formats

PDF DOCX XLSX PPTX JPG/PNG MP3/FLAC MP4/MOV

Code Examples

cURL Example

curl -X POST https://metascrub.xyz/api/v1/remove-metadata \
  -H "X-API-Key: ms_your_api_key_here" \
  -F "[email protected]" \
  -o cleaned_document.pdf

Replace ms_your_api_key_here with your actual API key

Response Codes

200
Success File processed successfully. Response contains the cleaned file.
400
Bad Request Missing file or invalid file format.
401
Unauthorized Invalid or missing API key.
403
Forbidden Premium subscription required for API access.
413
File Too Large Maximum file size: 50MB for Premium users.
429
Rate Limit Exceeded You have exceeded the rate limit of 100 requests per hour.
500
Internal Server Error An error occurred while processing the file.

Workflow Automation with n8n

Want to automate metadata removal? Connect MetaScrub API with n8n — a free, open-source workflow automation platform. Build visual workflows that clean files automatically from Google Drive, email, cloud storage and more.

Read the n8n Integration Guide

Need Help?

If you have questions or need assistance with the API, feel free to reach out.