This is reference documentation for all methods exposed by the Kiva API.
Returns comments for a specified journal entry.
http://api.kivaws.org/v1/journal_entries/28342/comments.json
1Production
Sort and filter all journal entries based on multiple criteria.
http://api.kivaws.org/v1/journal_entries/search.json
any, video, imagenewest, oldest, recommendation_count, comment_countnewest1journal_entry – HTML , JSON , XML
Production
Retrieves detail for multiple lenders.
http://api.kivaws.org/v1/lenders/matt.json
50lender_detail – HTML , JSON , XML
Production
Returns loans belonging to a particular lender.
http://api.kivaws.org/v1/lenders/jeremy/loans.json
1oldest, newestnewestloan_listing – HTML , JSON , XML , RSS
Production
Returns teams that a particular lender is a member of.
http://api.kivaws.org/v1/lenders/jeremy/teams.json
1team_detail – HTML , JSON , XML , RSS
Production
Returns listings for the lenders who have most recently joined Kiva.
http://api.kivaws.org/v1/lenders/newest.json
1lender_listing – HTML , JSON , XML , RSS
Production
Search and sort lender listings based on multiple criteria.
http://api.kivaws.org/v1/lenders/search.json
AF, AL, AM, AZ, BA, BD, BF, BG, BI, BJ, BO, BW, BZ, CD, CG, CI, CL, CM, CO, CR, DO, EC, GE, GH, GT, GZ, HN, HT, ID, IL, IN, IQ, JO, KE, KG, KH, LB, LK, LR, MD, ML, MN, MX, MZ, NA, NG, NI, NP, PE, PH, PK, PS, PY, QS, RW, SL, SN, SV, TD, TG, TH, TJ, TL, TR, TZ, UA, UG, US, VN, WS, XK, YE, ZA, ZM, ZWoldest, newestnewest1lender_listing – HTML , JSON , XML , RSS
Production
Lists the 100 most recent loans made on Kiva by public lenders.
This method returns the most recent loan purchases made on Kiva in reverse-chronological order. Loans made by users with private lender profiles are not shown, and there is no way to fetch history beyond the 100 most recent transactions.
http://api.kivaws.org/v1/lending_actions/recent.json
lending_action – HTML , JSON , XML
Production
Returns detailed information for multiple loans.
Detailed loan records include a lot of data beyond the scope of a loan listing, including the list of borrowers, loan terms, and recorded payments.
http://api.kivaws.org/v1/loans/2930.json
10loan_detail – HTML , JSON , XML , RSS
Production
Retrieve journal entries associated with a particular loan.
http://api.kivaws.org/v1/loans/42939/journal_entries.json
1journal_entry – HTML , JSON , XML
Production
Returns the list of public lenders to a loan.
http://api.kivaws.org/v1/loans/38239/lenders.json
1lender_listing – HTML , JSON , XML , RSS
Production
Returns all status updates for a loan, newest first.
The list of updates returned is currently comprised of payment notifications and journal entries. Output for this call is also available as RSS.
http://api.kivaws.org/v1/loans/42939/updates.json
loan_updates – HTML , JSON , XML , RSS
Production
Returns a simple list of the most recent fundraising loans.
http://api.kivaws.org/v1/loans/newest.json
1loan_listing – HTML , JSON , XML , RSS
Production
Search and sort loan listings by multiple criteria.
http://api.kivaws.org/v1/loans/search.json
fundraising, funded, in_repayment, paid, ended_with_lossmale, femalena, ca, sa, af, as, me, eeAF, AL, AM, AZ, BA, BD, BF, BG, BI, BJ, BO, BW, BZ, CD, CG, CI, CL, CM, CO, CR, DO, EC, GE, GH, GT, GZ, HN, HT, ID, IL, IN, IQ, JO, KE, KG, KH, LB, LK, LR, MD, ML, MN, MX, MZ, NA, NG, NI, NP, PE, PH, PK, PS, PY, QS, RW, SL, SN, SV, TD, TG, TH, TJ, TL, TR, TZ, UA, UG, US, VN, WS, XK, YE, ZA, ZM, ZWpopularity, loan_amount, oldest, expiration, newest, amount_remaining, repayment_termnewest1loan_listing – HTML , JSON , XML , RSS
Production
Lists all methods available via the Kiva API.
http://api.kivaws.org/v1/methods.json
method_summary – HTML , JSON , XML
Production
Returns documentation for specific methods of the Kiva API.
http://api.kivaws.org/v1/methods/GET*|loans|newest.json
50method_summary – HTML , JSON , XML
Production
Returns private account information for the Kiva User as authorized.
Requires "access" scope for basic information.
https://api.kivaws.org/v1/my/account.json
{ "user_account": { "id": 123456, "is_public": true, "first_name": "Martin", "last_name": "Johnson", "lender_id": "martin1234" } }
user_account – HTML , JSON , XML
Beta
Requires OAuth
Returns private account information for the Kiva User as authorized.
Requires "user_balance" scope for user balance.
https://api.kivaws.org/v1/my/balance.json
{ "user_balance": { "id": 123456, "balance": "250.00" } }
user_balance – HTML , JSON , XML
Beta
Requires OAuth
Returns private account information for the Kiva User as authorized.
Requires "user_email" scope for users email address.
https://api.kivaws.org/v1/my/email.json
{ "user_email": { "id": 123456, "email": "martin@lenderweb.org" } }
user_email – HTML , JSON , XML
Beta
Requires OAuth
Returns lender object, even for anonymous lenders.
Requires "user_anon_lender_data" scope.
https://api.kivaws.org/v1/my/lender.json
Beta
Requires OAuth
Returns loans for a lender, even for anonymous lenders.
Requires "user_anon_lender_loans" scope.
https://api.kivaws.org/v1/my/loans.json
1popularity, loan_amount, oldest, expiration, newest, amount_remaining, repayment_termnewestBeta
Requires OAuth
Returns amount lent and outstanding balance for a loan.
Requires "user_loan_balances" scope. Note, the amount_repaid_to_lender is the full expected amount so you have to deduct the currency_loss_to_lender separately to get the actual total repaid. The same is true for the promo amounts. Possible statues: The possible statuses are: refunded, fundraising, expired, funded, in_repayment, paid and ended_with_loss. Loans can have the status 'ended_with_loss' for two reasons. a) currency loss, which will be presented in the return values or b) default, which is the remainder when the numbers don't add up.
https://api.kivaws.org/v1/my/loans/:id/balances.json
{ "balances" : { "id": 449097 "total_amount_purchased": 25, "amount_repaid_to_lender": 0, "currency_loss_to_lender": 0, "amount_repaid_to_promo": 6.51, "currency_loss_to_promo": 0, "arrears_amount": 0, "status": "in_repayment" } }
user_loan_balances – HTML , JSON , XML
Beta
Requires OAuth
Returns teams for a lender, even for anonymous lenders.
Requires "user_anon_lender_teams" scope.
https://api.kivaws.org/v1/my/teams.json
1newest, oldest, member_count, loan_count, loaned_amount, query_relevancenewestBeta
Requires OAuth
Returns detailed listings for all Kiva field partners.
http://api.kivaws.org/v1/partners.json
1partner_listing – HTML , JSON , XML , RSS
Production
Returns versioning information on the current Kiva API release.
http://api.kivaws.org/v1/releases/api/current.json
Production
Returns a statistic based on the name requested.
http://api.kivaws.org/v1/statistics/gender_num_female.json
1total, count, gender_num_female, num_entreps, average_per_entrepBeta
Returns detailed information about one or more lending teams.
http://api.kivaws.org/v1/teams/2.json
20team_detail – HTML , JSON , XML , RSS
Production
Returns the list of public lenders belonging to a specific team.
http://api.kivaws.org/v1/teams/2/lenders.json
oldest, newestnewest1lender_listing – HTML , JSON , XML , RSS
Production
Returns loans belonging to a particular team.
http://api.kivaws.org/v1/teams/2/loans.json
1oldest, newestnewestloan_listing – HTML , JSON , XML , RSS
Production
Sort through the list of lending teams using multiple criteria.
http://api.kivaws.org/v1/teams/search.json
open, closedAlumni Groups, Businesses, Businesses - Internal Groups, Clubs, Colleges/Universities, Common Interest, Events, Families, Field Partner Fans, Friends, Local Area, Memorials, Religious Congregations, Schools, Sports Groups, Youth Groups, Othernewest, oldest, member_count, loan_count, loaned_amount, query_relevancenewest1team_listing – HTML , JSON , XML , RSS
Production
Returns detailed information about one or more teams, identified by shortname.
Usually data about teams is retrieved using the team‘s numerical ID. This method is useful for looking up that ID and other information when only the shortname of the team is known.
http://api.kivaws.org/v1/teams/using_shortname/buildkiva.json
20team_detail – HTML , JSON , XML
Production