SeedFinder
API
Info

About the SeedFinder API

The following options and output formats are available for all SeedFinder APIs.

Output-Format

The standard format is JSON, but you also can get the data as JSONP or as a JavaScript object if you like.
To define the output, simply add the parameter output to the request-url.

&output=0 ...will deliver a pure JSON (also if output is unset.)
&output=1 ...will deliver a JavaScript Object.
&output=2 ...will deliver a JSONP

Data as JSON

JSON (JavaScript Object Notation) is a lightweight text-based open standard designed for human-readable data interchange. It is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects. Despite its relationship to JavaScript, it is language-independent, with parsers available for virtually every programming language. Click here to read more about JSON onto the official website or wikipedia.

Example:

{"amount": 23, "info": "hello world"}

Data as JSONP

JSONP or "JSON with padding" is a complement to the base JSON data format, a usage pattern that allows a page to request and more meaningfully use JSON from a server other than the primary server. You are able to change the name of the callback by adding the parameter $callback=YourCallback (jsonp_callback if unset). JSONP can be loaded very easy with a <script> tag in the head, its also easy to work with this format with jQery's $ajax() function. Click here to read more about this data format.

Example:

jsonp_callback({"amount": 23, "info": "hello world"});

Data as JavaScript Object

This option will allow an easy access if you use JavaScript, the output will directly declared as a JavaScript object. You only need to inject the file with a <script> tag to the <head> of your page, and the data will be directly available in an object! In our example below you can use alert(STRAIN.info); to alert "hello world".

Example:

var STRAIN = ({"amount": 23, "info": "hello world"});

IMPORTANT

Please note:
To use our JSON API you must verify your domain(s) here into the User-Area at first!

If you do a request from a unregistered domain you will get an Error 403!

Creative Commons BY-NC-SA 3.0 License With the help of the SeedFinder API you will be able to use our data for your own applications, widgets and integrate our info directly into your homepage. Use of the API is completely free if you follow the license terms. To stay informed about the API please connect an email to your user-account (so we can contact you if there are questions) and/or drop an eye to our Newsflash! If you don't like add backlinks or if you're running a commercial site, please contact us before using our api. »» All content is licensed under a Creative Commons BY-NC-SA 3.0 License