Vastu
AvailableDXF Floor-Plan Import API
Reads an ASCII DXF drawing into a reviewable plan (boundary, north, rooms, scale) with the drawing units and notes.
- POST /v1/vastu/vastu-import-dxf
- 1 credit
curl https://api.96astroapi.com/v1/vastu/vastu-import-dxf \ -H "Authorization: Bearer $ASTRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "dxf_base64": "MApTRUNUSU9OCjIKSEVBREVSCjkKJEFDQURWRVIKMQpBQzEwMTUKOQokSU5TVU5JVFMKNzAKNgowCkVORFNFQwowClNFQ1RJT04KMgpFTlRJVElFUwowCkxXUE9MWUxJTkUKMTAwCkFjRGJFbnRpdHkKOAowCjEwMApBY0RiUG9seWxpbmUKOTAKNAo3MAoxCjEwCjAKMjAKMAoxMAoxMgoyMAowCjEwCjEyCjIwCjkKMTAKMAoyMAo5CjAKTFdQT0xZTElORQoxMDAKQWNEYkVudGl0eQo4CjAKMTAwCkFjRGJQb2x5bGluZQo5MAo0CjcwCjEKMTAKOQoyMAo2CjEwCjEyCjIwCjYKMTAKMTIKMjAKOQoxMAo5CjIwCjkKMApURVhUCjEwMApBY0RiRW50aXR5CjgKMAoxMDAKQWNEYlRleHQKMTAKMTAuNQoyMAo3LjUKNDAKMC4zCjEKS2l0Y2hlbgowCkVORFNFQwowCkVPRgo=" }'
Overview
Reads an ASCII DXF drawing into a reviewable plan (boundary, north, rooms, scale) with the drawing units and notes.
Call it with POST /v1/vastu/vastu-import-dxf. Input: specific input. Output: JSON, as a direct response. Each successful call costs 1 credit.
- POST /v1/vastu/vastu-import-dxf
- 1 credit
- Specific input
Try it
Response
Ready when you are
Press Run it to see the live response here.
Example response
Fields in dataMeasured from 6 real answers to different inputs: a required field was in every one.
planobjectdrawing_unitsstringnotesarray
200Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and image data is shortened.
Loading the example…
Request schema and every field: the Vastu reference.
Related endpoints
01What does the DXF Floor-Plan Import API return?
Reads an ASCII DXF drawing into a reviewable plan (boundary, north, rooms, scale) with the drawing units and notes. The response's data object includes plan, drawing_units and notes. See the reference for an example response.
02What input does DXF Floor-Plan Import need?
Specific input.
03How much does a DXF Floor-Plan Import call cost?
1 credit per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.
04Can I try it before paying?
Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.


