A hardware application programming interface (API) controlling apparatus for connecting transmission control protocol (TCP) hardware processing logic, user datagram protocol (UDP) hardware processing logic, Internet control message protocol (ICMP) hardware processing logic, Internet group management protocol (IGMP) hardware processing logic, Internet protocol (IP) hardware processing logic, address resolution protocol (ARP) hardware processing logic and reverse address resolution protocol (RARP) hardware processing logic and an upper layer, said apparatus implementing in hardware an API and communicating with an upper layer via one of a microcontroller unit (MCU) interface, an I2C interface and a serial interface.