|
The Swapster API is implemented over standard HTTP GET requests. This allows Swapster to be integrated with just about any application that can connect to the web. Please let us know if you would like API feeds other than those listed here. Requests will be accommodated quickly. We would love to know how you use the API feed. Send us an email with your url and we'll check it out. |
Recent 100 Items Listed on Swapster
All Categories
http://www.swapster.com/api/recent_listings.php
Music
http://www.swapster.com/api/recent_listings.php?cat=3
Movies
http://www.swapster.com/api/recent_listings.php?cat=4
Games
http://www.swapster.com/api/recent_listings.php?cat=5
Books
http://www.swapster.com/api/recent_listings.php?cat=2
All Categories
http://www.swapster.com/api/recent_listings.php
Music
http://www.swapster.com/api/recent_listings.php?cat=3
Movies
http://www.swapster.com/api/recent_listings.php?cat=4
Games
http://www.swapster.com/api/recent_listings.php?cat=5
Books
http://www.swapster.com/api/recent_listings.php?cat=2
Recent 100 Items Listed by Member's Username
All Categories
http://www.swapster.com/api/recent_listings.php?u=bobster
Music
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=3
Movies
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=4
Games
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=5
Books
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=2
All Categories
http://www.swapster.com/api/recent_listings.php?u=bobster
Music
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=3
Movies
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=4
Games
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=5
Books
http://www.swapster.com/api/recent_listings.php?u=bobster&cat=2
Earn Points for your Referrals
In the above XML feeds you can modify the <url> element value by appending one parameter to the URL.
The URL element looks like this:
<url>http://www.swapster.com/view_item.php?Item=1127</url>
Modify the value by adding the aid param to the URL with your MemberId as the value:
<url>http://www.swapster.com/view_item.php?Item=1127&aid=123456</url>
Why add the "aid" parameter?
Visitors that click on the link with the aid parameter get a cookie that contains your MemberId and lasts for 15 days.
Each referral resulting in a paid sign up will earn you 5 Swapster Points.
What is my MemberId?
Please sign in and we will display your MemberId here.
In the above XML feeds you can modify the <url> element value by appending one parameter to the URL.
The URL element looks like this:
<url>http://www.swapster.com/view_item.php?Item=1127</url>
Modify the value by adding the aid param to the URL with your MemberId as the value:
<url>http://www.swapster.com/view_item.php?Item=1127&aid=123456</url>
Why add the "aid" parameter?
Visitors that click on the link with the aid parameter get a cookie that contains your MemberId and lasts for 15 days.
Each referral resulting in a paid sign up will earn you 5 Swapster Points.
What is my MemberId?
Please sign in and we will display your MemberId here.


