API

Response Formats

The formats currently provided return the same results, but you can choose the one suitable for your software.
The result of the request is the sex distance in meters.

JSON

The JSON format is very simple and can be used in your Javascript or many other languages.

XML

The XML format is very simple and can be parsed easily.

Making Requests

To calculate the sexdistance simply request a URL to let the server know what you need.

http://sexdistance.com/api/v1/service.php?depth=15&times=50&duration=15&speed=normal&option=sex&apikey=abcde12345&format=xml

Parameters

The parameters that should be passed to the URL are the following:

depth This is the penetration depth in centimeters.
times This is how many times someone did it.
duration This is how long the act lasted in minutes.
speed This is the average speed of the act.
Valid values:
  • slow
  • normal
  • fast
  • veryfast
option This is to choose wether to calculate regular sex distance or tongue's distance.
Valid Values:
  • tongue
  • sex
apikey This is your public api key. Contact us to get yours.
format This is the desired output format.
Valid Values:
  • json
  • xml

Logo

Images to use in your Sexdistance API Applications.


500x100px

If you have any feature requests please let us know.
Please report any issues that you may find.
In order to get your own API key contact us and we'll send you one.
By using the API you accept the API Terms of Use.