Fine-tuning GPT-4o for API Endpoint Extraction from HTML Docs Pages

Hello,

Is it feasible to fine-tune GPT-4o to accurately extract API endpoints, request parameters, and other details from an HTML page? Or would there be other viablee methods ? Any tips if fine-tuning is viable?

Thanks!