/v1/posts
Posts, sections & rails
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/fence-api/v1/posts" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fence-api/v1/posts", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fence-api/v1/posts");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/fence-api/v1/posts",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Line posts = sections + 1 (a post at each section boundary plus the ends). Add posts for gates and corners.",
"input": {
"length_ft": 100,
"post_spacing_ft": 8,
"rails_per_section": 2
},
"posts": 14,
"rails": 26,
"sections": 13,
"rail_total_length_ft": 208
},
"meta": {
"timestamp": "2026-06-04T01:59:17.940Z",
"request_id": "8543d3e6-7c20-4c98-9377-e6b667f32681"
},
"status": "ok",
"message": "Posts & sections",
"success": true
}