As far as I know, chatGPT is based on GPT-3 but it is not exactly GPT-3 (ChatGPT has been tuned for chat). Second, yes, it is likely an API for chatGPT might be coming soon or is even in beta but I doubt somebody is already