§ Read and verify
PDF Metadata API
Reads the document properties and keywords back as JSON. `properties` is always an object and `keywords` is always an array, even when empty, so a client never has to null-check the response.
- Endpoint
- POST /pdf/metadata
- Inputs
- Exactly 1 PDF
- Returns
- application/json
- Limits
- 20 MB per file.
- Price
- $0.001
§ 01 The request
One POST, and the file comes back.
POST /pdf/metadata
curl -sS --fail-with-body \
-H "Authorization: Bearer $OHMYWRAP_KEY" \
-F "file=@contract.pdf" \
https://api.ohmywrap.com/pdf/metadataOptions
None. Send the file and nothing else. An options object is still accepted, but any key inside it is 422 invalid_options.
Your first /pdf/metadata call takes one line of curl.
Ten thousand calls cost ten dollars, the pack never expires, and nothing you send is kept.
10,000 calls for $10. No subscription, no expiry.