Use Fundsurfer's Crowdfunding API to integrate your crowdfunding campaign details into your own website or app.
We use the API on the Big Screen site to display live project totals and to power our internal Twitter and Slack bots.
The API is in beta and is read-only at the moment.
Project list (JSON)
Get the project list like this. It will return a JSON array or projects.
https://www.fundsurfer.com/api/projects/json
Example response
[ { "nid": "652", "title": "Bristol's First Cat Cafe", "intro": "A cat cafe is just like a normal cafe, with one difference – it's full of cats!", "status": "live", "currency": "gbp", "target": 20000, "pledged": "20786", "percent": 103.9, "location": { "address": "Bristol, GB" }, "start_date": "2016-01-17T00:00:00+00:00", "end_date": "2016-03-22T00:00:00+00:00", "short_url": "https://www.fundsurfer.com/node/652", "json_url": "https://www.fundsurfer.com/api/project/652/json", "url": "https://www.fundsurfer.com/project/first-cat-cafe-in-bristol", "funding_type": "Open ended" } ]
Use the json_url value to get more details about a specific project:
"json_url": "https://www.fundsurfer.com/api/project/652/json"
Project info (JSON)
If you have the json_url or know the project id, then you can request the project details like this:
https://www.fundsurfer.com/api/project/[project id]/json
Example
https://www.fundsurfer.com/api/project/652/json
Response
{ "project_id": 652, "title": "Bristol's First Cat Cafe", "intro": "A cat cafe is just like a normal cafe, with one difference – it's full of cats!", "author": "Ewa_Rukat", "author_id": 4614, "currency": "gbp", "target": 20000, "pledged": 20786, "percent": 103.93, "updates": "18", "project_status": 2, "funding_type": "Open ended" }
Number of backers
If you know the project id, then you can request the number of backers like this:
https://www.fundsurfer.com/api/project/[project id]/backers/json
Example
https://www.fundsurfer.com/api/project/652/backers/json
Response
{ "backers": "329" }
Number of updates
If you know the project id, then you can request the number of backers like this:
https://www.fundsurfer.com/api/project/[project id]/backers/json
Example
https://www.fundsurfer.com/api/project/652/updates/json
Response
{ "updates": "18" }
If you have any questions about the API or how you can integrate with Fundsurfer please email us at info@fundsurfer.com or use our contact form