IPB

Welcome Guest ( Log In | Register )

4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> Zopa API v0.5, A new techie toy to play with
elljay
post May 16 2007, 01:20 PM
Post #21


Zeus
Group Icon

Group: Moderators
Posts: 1,748
Joined: 21-July 06
From: West Sussex
Member No.: 274



QUOTE (asking @ May 16 2007, 01:52 PM) *
the site doesn't show the "maximum individual offering".

There's some more data on the MI page - it gives max loan; total on offer and number of offers in each market. Also the rate last offered at various levels in the 36 month markets.

As it happens I started graphing the MI page data a few days ago... At the risk of using up all my bandwidth wink.gif the page is here. The breaks in the graphs are due to my dodgy router!

Didn't realise the xml pages were available - I'll add some more graphs for the data on the overview.xml page. Not majorly excited by the data on the other pages...


--------------------
Gooja map from this thread here.

Graphs of Zopa's MI data on my site, here.

The key is diversity.

ZopaHolics Anonymous avatar logo here:
Go to the top of the page
 
+Quote Post
asking
post May 16 2007, 02:19 PM
Post #22


Zygote
*

Group: Members
Posts: 7
Joined: 13-May 07
Member No.: 1,398



Nice! What did you create that with? Perl?

I made something very similar for my shares in PHP which just harvests the latest bid prices from Yahoo Finance and tallys up my portfolio. Does the same with the FTSE All-share to compare performances.

Unfortunately, while the rates, loan amounts etc are interesting, harvesting the real-time offers on the market would be the real gem. i.e. the same data as the excel file, but real time and in XML/CSV.

Come on Zopa... it's easy to do... and would gain good publicity from bloggers. : )
Go to the top of the page
 
+Quote Post
elljay
post May 16 2007, 03:09 PM
Post #23


Zeus
Group Icon

Group: Moderators
Posts: 1,748
Joined: 21-July 06
From: West Sussex
Member No.: 274



QUOTE (asking @ May 16 2007, 03:19 PM) *
Nice! What did you create that with? Perl?

Thanks, yup, it's a bit of home grown Perl feeding everyone's favourite rrdtool, with the front end driven by a modified version of Haroon Rafique's rrd.cgi.

QUOTE
Unfortunately, while the rates, loan amounts etc are interesting, harvesting the real-time offers on the market would be the real gem. i.e. the same data as the excel file, but real time and in XML/CSV.

Yup, or the last matched lender rates and loan size in each market.


--------------------
Gooja map from this thread here.

Graphs of Zopa's MI data on my site, here.

The key is diversity.

ZopaHolics Anonymous avatar logo here:
Go to the top of the page
 
+Quote Post
glyn
post May 16 2007, 04:28 PM
Post #24


Zucchini
**

Group: Members
Posts: 25
Joined: 8-March 07
From: Dunbar, East Lothian, Scotland
Member No.: 1,105



You can import xml data into Excel very easily.

Go to Data/XML/Import then paste the xml URL from your browser into the filename box (try http://www.zopa.com/ZopaWeb/Reports/Marketplace/zopas.xml) then click the import button.

Excel will format the data for you and will set up drop menus so that you can filter the data.
Go to the top of the page
 
+Quote Post
tft10
post May 22 2007, 11:50 AM
Post #25


Zygote
*

Group: Members
Posts: 3
Joined: 22-May 07
Member No.: 1,449



QUOTE (Ledney @ May 16 2007, 09:17 AM) *
Seems like the computer experts are going to have a huge advantage in interpreting the data and automatically optimising their rates.


To be useful in this way ISTM the API should allow programmed setting of offers, and a complete, real-time dump of all data on
current offers and borrowing requests. I assume this would have to be in some very low-level format, or as an online query of
Zopa's database in whatever form that takes, which is fine by me. It should allow the automatic construction of the weekly
spreadsheet, but at any point in time.

That said, I don't see under the current circumstances that there would be any "huge advantage" at all.

I read the current situation as one where it is difficult for the lender to obtain a return as high as a good
deposit account (>6%) + bad-debt risk + zopa fee. In this case, the only useful strategy seems to be completely
non-adaptive: set rates to 6 + bad-debt + fee + margin (maybe 0.5-1%) and sit around for ever waiting for the
occasional fluctuations when the market comes to you, not the other way round.

Tim.
Go to the top of the page
 
+Quote Post
cornetto
post May 23 2007, 09:47 AM
Post #26


Zebra
***

Group: Members
Posts: 71
Joined: 23-November 06
From: Tring, Herts
Member No.: 613



QUOTE (elljay @ May 16 2007, 02:20 PM) *
As it happens I started graphing the MI page data a few days ago... At the risk of using up all my bandwidth wink.gif the page is here. The breaks in the graphs are due to my dodgy router


Elljay - These are great - Only looking from time to time, I hadn't realised the variability in some of the numbers including the ZOPA min/max - I've already added your graphs to my favourites! rolleyes.gif
Go to the top of the page
 
+Quote Post
elljay
post May 23 2007, 09:24 PM
Post #27


Zeus
Group Icon

Group: Moderators
Posts: 1,748
Joined: 21-July 06
From: West Sussex
Member No.: 274



QUOTE (cornetto @ May 23 2007, 10:47 AM) *
I've already added your graphs to my favourites! rolleyes.gif

cool.gif Graphs are gooood... biggrin.gif


--------------------
Gooja map from this thread here.

Graphs of Zopa's MI data on my site, here.

The key is diversity.

ZopaHolics Anonymous avatar logo here:
Go to the top of the page
 
+Quote Post
Stobby
post May 24 2007, 11:53 AM
Post #28


Zucchini
**

Group: Members
Posts: 42
Joined: 18-October 06
Member No.: 504



Wondering how many borrowers there have ever been?

Well you can find the answer by using this: http://www.zopa.com/WebApi/flashapi.ashx

Its a queryable ashx file, so you provide it with some pre-approved parameters and it sends you an xml formatted response. I've no idea if i'm gonna get a smacked hand for this cos its not public and i went digging to find it, but here is how to use it:

First you decide what type of members you are looking for, either borrowers, everyone, people who've lent or people who've borrowed. You can then narrow the search for members even further.

CODE
type=borrowers        grade    - A*, A, B, C
            ratefrom    - 0.0 to 20.0 in .1 increments
            rateto    - 0.0 to 20.0 in .1 increments
            loc    - first two letters of postcode
            agefrom    - integer values
            ageto    - integer values
            termfrom    - 12, 24, 36, 48, 60
            termto    - 12, 24, 36, 48, 60

type=all            loc
            joindate    - not too sure about this one, it seems to be the date specified as the number of seconds since 1st jan 1970.
            agefrom
            ageto

type=lent            grade
            ratefrom
            rateto
            loc
            agefrom
            ageto
            termfrom
            termto

type=offering        grade
            ratefrom
            rateto
            loc
            agefrom
            ageto
            termfrom
            termto


Example 1: I would like to see members who have borrowed between 5.0% and 5.1% and have an age of between 18 and 27. The address i would enter into my browser would be:

http://www.zopa.com/WebApi/flashapi.ashx?t...18&ageto=27

I would find out that there are 6 such borrowers, and have an average rate of 5.2%.

Example 2: I want to see lenders from guilford (GU postcode) offering in the A* market. The address i would enter into my browser would be:

http://www.zopa.com/WebApi/flashapi.ashx?t...GU&grade=A*

I would find that there are 21 lenders who fit the criteria, although only 20 are shown, and some are shown twice as they offer in 2 different terms, 12 and 24 month.

Hope you enjoy this,

Stobby

ps. at the time of writing it was 2712 borrowers since the start of zopa!
Go to the top of the page
 
+Quote Post
chancer
post May 24 2007, 12:00 PM
Post #29


Zeus
******

Group: Members
Posts: 876
Joined: 31-May 06
Member No.: 205



QUOTE (Stobby @ May 24 2007, 12:53 PM) *
ps. at the time of writing it was 2712 borrowers since the start of zopa!


average loan £4k. total lending £10.8m. zopa gross income £100k, of which some is future income from lenders.


--------------------
Born lucky. 3 bad debts in 900 loans.
Go to the top of the page
 
+Quote Post
Ledney
post May 24 2007, 04:22 PM
Post #30


Zeus
******

Group: Members lvl 1
Posts: 1,291
Joined: 30-May 06
Member No.: 202



Stobby this must be the code that drives the 'game' on the front page of Zopa. You can use all of those filters and just checking I get the same number of borrowers.
Go to the top of the page
 
+Quote Post
Justin
post May 24 2007, 05:39 PM
Post #31


Zephyr
*****

Group: Members
Posts: 276
Joined: 8-March 06
From: London
Member No.: 10



Yeah, that's the feed for the Flash movie on the front page.

We're looking into piggy-backing some more useful data into this mechanism as a way of getting more data out there.

And no Stobby, you're not going to get your hand slapped for decompiling our Flash...

J
Go to the top of the page
 
+Quote Post
elljay
post Oct 16 2007, 05:40 AM
Post #32


Zeus
Group Icon

Group: Moderators
Posts: 1,748
Joined: 21-July 06
From: West Sussex
Member No.: 274



Note the xml pages Dave talks about in the first post have moved to http://www.zopa.com/Marketplace/ in the latest site update.


--------------------
Gooja map from this thread here.

Graphs of Zopa's MI data on my site, here.

The key is diversity.

ZopaHolics Anonymous avatar logo here:
Go to the top of the page
 
+Quote Post
bigfoot12
post Apr 17 2008, 12:22 PM
Post #33


Zebra
***

Group: Members
Posts: 79
Joined: 18-May 07
Member No.: 1,430



QUOTE (dave @ Jun 20 2006, 07:07 PM) *
We're cooking up a Zopa API, but we thought we'd release an alpha version to see what you can do with it.

We've taken the XML data we use for the online marketplace screens and made it accessible directly via a URL.

borrowers.xml (Details of Zopa borrowers)
demand.xml (Total amount requested by market in the last 7 days from our loan calculator)
lenders.xml (Details of Zopa lenders)
money.xml (Total amount offered in each market)
newmembers.xml (Details of the most recent Zopa members)
overview.xml (6 key stats from Zopa today)
rates.xml (Average rates for last 5 loans applied for by market)
zopas.xml (The high / low rates offered by lenders in a market, and the high / low of the Zopa in each market)

Any questions - just shout!

What else would you like to see included here?


I cannot get money.xml to work. The others seem fine. Has it been turned off?

Also am I right in thinking this is only summary information? It would be great to get the lists of offers in each market.
Go to the top of the page
 
+Quote Post
Tristan
post Apr 17 2008, 01:00 PM
Post #34


I wear short shorts
*

Group: Members
Posts: 21
Joined: 23-August 07
Member No.: 1,882



QUOTE (bigfoot12 @ Apr 17 2008, 01:22 PM) *
I cannot get money.xml to work. The others seem fine. Has it been turned off?

The money feed is new-money.xml

QUOTE (bigfoot12 @ Apr 17 2008, 01:22 PM) *
Also am I right in thinking this is only summary information? It would be great to get the lists of offers in each market.

We don't have this available in an API at present, you can find this information after signing in though:
Sign in > My Zopa Today > The Markets > Market ZOPAs > *click* the blue (i) at the end of the market row for a list of money lent on that market.

Tristan


--------------------
I wear short shorts!
Go to the top of the page
 
+Quote Post
bigfoot12
post Apr 17 2008, 01:04 PM
Post #35


Zebra
***

Group: Members
Posts: 79
Joined: 18-May 07
Member No.: 1,430



Thank you for that. Are there any other xml's not in the original list.

I was hoping to get the Lenders in the market in an xml form (no need to log in) rather than the link you just pointed out to me.
Go to the top of the page
 
+Quote Post
elljay
post Apr 17 2008, 06:18 PM
Post #36


Zeus
Group Icon

Group: Moderators
Posts: 1,748
Joined: 21-July 06
From: West Sussex
Member No.: 274



QUOTE (Tristan @ Apr 17 2008, 02:00 PM) *
The money feed is new-money.xml

Hi Tristan, please could you advise what the s, a, b and c represent?

<item term="12" s="267480" a="276360" b="280340" c="272600" />

Thanks


--------------------
Gooja map from this thread here.

Graphs of Zopa's MI data on my site, here.

The key is diversity.

ZopaHolics Anonymous avatar logo here:
Go to the top of the page
 
+Quote Post
elljay
post Apr 17 2008, 06:35 PM
Post #37


Zeus
Group Icon

Group: Moderators
Posts: 1,748
Joined: 21-July 06
From: West Sussex
Member No.: 274



Ah, my brain is in gear now - "s" is A*. smile.gif


--------------------
Gooja map from this thread here.

Graphs of Zopa's MI data on my site, here.

The key is diversity.

ZopaHolics Anonymous avatar logo here:
Go to the top of the page
 
+Quote Post
richardm
post Jan 18 2009, 10:46 PM
Post #38


Zebedee
****

Group: Members lvl 1
Posts: 181
Joined: 22-May 07
From: Manchester
Member No.: 1,456



QUOTE (Tristan @ Apr 17 2008, 01:00 PM) *
The money feed is new-money.xml

The feed http://uk.zopa.com/Marketplace/new-money.xml does not seem to include the data for the Y markets. E.g. (note: s = A*)

CODE
<?xml version="1.0" encoding="UTF-8"?>
<money Range="827450">
        <item term="36" s="812800" a="827450" b="810970" c="737810" />
        <item term="60" s="485720" a="475570" b="460820" c="411630" />
</money>

but Elljay's graphs seem to include the data for Y. Is this raw data available?


--------------------
Visit Lendify for Zopa market data.
Go to the top of the page
 
+Quote Post
gaz1977
post Feb 4 2009, 11:26 PM
Post #39


Zucchini
**

Group: Members
Posts: 33
Joined: 4-February 09
Member No.: 3,776



Hi,

I've been playing about with Zopa as a lender for a few weeks now.
My day job though is a Flash Developer, and I'm tempted to build a Flash application that consumes your xml api. If it's good enough, I'd release it to the zopa community.

Flash has an inbuilt security system though, which means it can only access xml that it has been granted permission to use. To do this, Zopa would need to put a cross-domain policy file on their website. The file must be called crossdomain.xml, placed in the web root and have the following content:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>

Full details of this can be found in the adobe documentation:
http://help.adobe.com/en_US/ActionScript/3...90204-7e08.html

Thanks

P.S the Market Information link mentioned in this thread doesn't seem to work:
http://uk.zopa.com/ZopaWeb/MI/

Go to the top of the page
 
+Quote Post
dhjgodin
post Feb 5 2009, 09:35 AM
Post #40


Zucchini
**

Group: Members
Posts: 30
Joined: 31-July 08
Member No.: 2,549



Hi

Could I get up to date urls for all of the xml files available in the API. I might have a go at knocking something together too.

Thanks in advance

Go to the top of the page
 
+Quote Post

4 Pages V  < 1 2 3 4 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th September 2010 - 09:24 AM