Kong

The World’s Most Popular Open Source
Microservice API Gateway and Platform.

Install Kong Docs

Kong1.0.2 has been released! Upgrade

Authentication

Protect your services with an authentication layer.

Traffic Control

Manage, throttle, and restrict inbound and outbound API traffic.

Analytics

Visualize, inspect, and monitor APIs and microservice traffic.

Transformations

Transform requests and responses on the fly.

Logging

Stream request and response data to logging solutions.

Serverless

Invoke serverless functions via APIs.

Trusted by

opendns
aol
hp
eurostar
accenture

Get Started in 1 minute

  1. Add your Service and Route on Kong

    After installing and starting Kong, use the Admin API on port 8001 to add a new Service and Route. In this example, Kong will reverse proxy every incoming request with the specified incoming host to the associated upstream URL. You can implement very complex routing mechanisms beyond simple host matching.

  2. Add Plugins on the Service

    Then add extra functionality by using Kong Plugins. You can also create your own plugins!

  3. Make a Request

    ...and then you can consume the Service on port 8000 by requesting the specified host. In production setup the public host DNS to point to your Kong cluster. Kong supports much more functionality, explore the Hub and the documentation.

$ curl -i -X POST \
  --url http://localhost:8001/services/ \
  --data 'name=example-service' \
  --data 'url=http://example.com'
$ curl -i -X POST \
  --url http://localhost:8001/services/example-service/routes \
  --data 'hosts[]=example.com' \
$ curl -i -X POST \
--url http://localhost:8001/services/example-service/plugins/ \
--data 'name=rate-limiting' \
--data 'config.minute=100'
$ curl -i -X GET \
  --url http://localhost:8000/ \
  --header 'Host: example.com'

Community Driven. Join the Kong Movement

Bitmap Created with Sketch.

Join a Meetup

Be part of the Kong Community and Start Yours or Join one of the upcomming meetups!

Have an issue or question?

Join Kong Nation to research API gateway topics, post questions, and discuss all things Kong.

Need more power?

Explore Kong Enterprise