Data Masking API POST

Data Masking is a powerful tool for detecting and masking sensitive information in text. It can identify and redact emails, phone numbers, SSNs, credit cards, IP addresses, URLs, and dates.

Try it — live request, no key required

Request
POSTapi.apiverve.com/v1/datamasking
Verification
Format

No key required to try it. Get a key to use it in your app.

200 OK
{
  "status": "ok",
  "error": null,
  "data": {
    // Data Masking response payload
  }
}

About the Data Masking API

Data Masking works by scanning text for sensitive data patterns and replacing them with masked placeholders. Returns both the masked text and detection statistics for multiple data types.

What people use it for

GDPR Compliance
Automatically mask PII in logs, documents, and communications to comply with GDPR and privacy regulations
Data Anonymization
Anonymize sensitive customer data in datasets before sharing with third parties or using for testing
Log Sanitization
Remove sensitive information from application logs and error messages before storing or analyzing
Content Moderation
Mask sensitive data in user-generated content, support tickets, or public forums to protect privacy

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Data Masking

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Data Masking API.

Read the docs
What does the Data Masking API do?
Data Masking is a powerful tool for detecting and masking sensitive information in text. It can identify and redact emails, phone numbers, SSNs, credit cards, IP addresses, URLs, and dates.
How do I authenticate Data Masking API requests?
Pass your API key in the x-api-key header over HTTPS. One key works across all 300+ APIVerve APIs — there are no per-endpoint credentials.
How much does the Data Masking API cost?
Each call spends 10 credits from your shared pool. The free tier includes 200 credits every month, and paid plans add more headroom.
How fast is the Data Masking API?
Response time depends on the endpoint — the p50 through p99 latency for this API is published on this page. Requests are served over HTTPS through a global edge network.
What response formats does the Data Masking API support?
JSON by default, plus XML and YAML via the format parameter. GraphQL and an MCP interface for AI agents are available across the catalog.
What HTTP method does the Data Masking API use?
POST over HTTPS, following standard REST conventions with a consistent { status, error, data } response envelope.

Ready to build with Data Masking? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs