Use the API Playground to try any Contractag endpoint without leaving this site. The form above each endpoint builds a real request to https://api.contractag.dev
so you can see how the API responds with your data.
The embedded runner currently executes cURL requests. Use it for quick checks,
then adapt the sample code below if you prefer Python, JavaScript, or .NET in
your application.
Try it
Choose an endpoint
Open any entry under Endpoints
to load the Playground with the
correct method and path.
Add your token
Select Set token
, paste your API key, and we’ll send requests
with Authorization: Bearer <token>
.
Send the request
Fill in the required fields, hit Send
, and review the live
response in the results panel.
Sample code
Use these snippets as a starting point when you wire the API into your stack.
Bash (cURL)
curl -X POST https://api.contractag.dev/... \
-H "x-api-key: $CONTRACTAG_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "key": "value" }'
Python
import requests
response = requests.post(
"https://api.contractag.dev/...",
headers={
"x-api-key": "YOUR_TOKEN",
"Content-Type": "application/json",
},
json={"key": "value"},
)
response.raise_for_status()
print(response.json())
JavaScript
await fetch("https://api.contractag.dev/...", {
method: "POST",
headers: {
"x-api-key": "YOUR_TOKEN",
"Content-Type": "application/json",
},
body: JSON.stringify({ key: "value" }),
});
C# (.NET)
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
// inside an async method
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("x-api-key", "YOUR_TOKEN");
var payload = new StringContent("{\"key\":\"value\"}", Encoding.UTF8, "application/json");
var response = await client.PostAsync("https://api.contractag.dev/...", payload);
response.EnsureSuccessStatusCode();
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);
Need a hand with a specific endpoint? Email support@contractag.dev and we’ll help you craft the request.