Split format codes
Add API header