API for structured data generation