Website logo

API Index

Address Methods

Address Contract

GET v1/Property/Address

Search by address

Restricted to approved applications. This operation is only available to applications that Trade Me has approved for it. Other applications receive HTTP 401 with the message "This operation is not valid for your application".

Bidding and Buying Methods

These methods allow you to place a bid or purchase an item outright using Buy Now.

POST v1/bidding/bid

Place a bid (normal or auto-bid) on a listing.

Note: When buyer fees apply (Casual listings), this endpoint is only accessible to Trade Me first-party API consumers. Third-party API consumers will receive an error response.

POST v1/bidding/senddeliveryaddress

Selects a delivery address for an auction you've won and sends that information, along with an optional phone number and message, to the seller. Do not use this API if the buyer is planning to pay with Pay Now, since the Pay Now process already includes this step. An address can only be sent once; the buyer must contact the seller directly if there was a mistake.

Branding Methods

These methods expose member branding related services

POST v1/Member/{memberId}/BrandingImages

Adds an image to the authenticated user's list of branding images. These photos can be used when listing a classified. Branding images are only supported for Job listings.

At the moment, only the following image types are supported:
  • Logo
  • Banner
  • Square
Image types are inferred from the file name extensions and they should be one of the following types (Case is ignored):
  • JPEG or JPG
  • PNG
  • GIF
Maximum acceptable image size is 5MB.

DELETE v1/Member/{memberId}/BrandingImages/{brandingId}

Deletes a specific branding image. The physical branding file will not physically be deleted immediately.

GET v1/Member/{memberId}/BrandingImages/{brandingId}

Returns a branding image associated with a member. The response includes the Url to the branding image.

GET v1/Member/{memberId}/BrandingImages

Returns a list of branding images associated with a member. The response includes the Url to the branding images.

POST v1/Member/{memberId}/BrandingImages/{brandingId}

Update the priority of a specific branding image given the branding id in the url.

It sets the branding image specified in the url to the default for its branding image type. For example, if the member has two branding logos, the branding logo they specify in the url will become the default. Success will always be returned regardless of whether or not the image was previously the default.

NOTE: This operation ignores all elements in the request.

Catalogue Methods

Catalogue methods expose general interest data that does not belong to an individual membership, or that is attached to an individual membership but is already publicly available. These methods are GET operations, require no authentication, and do not count towards rate limits.

GET v1/InTradeReasons

Returns a list of reasons for changing the in trade status. This is used in conjunction with the set in trade status API.

GET v1/SearchOptions/PropertyImageTags

Retrieves approved property image tags grouped by filter section.

GET v1/categories/{category}/attributes

Retrieves the list of attributes which are applicable to a specific category.

Some categories are currently unsupported (including subcategories): 350 (Real Estate), 5000 (Jobs) and 36 (Businesses for sale).

This API is deprecated in favour of the category details API.
GET v1/categories/lastupdated

Returns the date the category tree was last changed. You can use this information to help decide whether you need to redownload the category tree.

This API is deprecated in favour of E-Tags.
GET v1/ComplaintSubjects

Retrieves a list of possible complaint subjects. This is used in conjunction with the send a complaint API.

GET v1/CustomerSupportEnquirySubjects

Retrieves a list of possible customer support enquiry subjects. This is used in conjunction with the submit a customer support enquiry API.

GET v1/categories/{category}/details

Retrieves detailed information about a single category. This includes applicable attributes, a legal notice (for categories that have one), available listing durations, listing fees and information about whether classifieds and/or auctions are allowed to be sold within the category.

This API replaces and extends these APIs:

You should use this API in preference to those older APIs.

Note: this API does not require authentication, but without authentication the information returned from this API is less accurate. It is highly recommended that you authenticate when calling this API.

GET v1/categories/details

Retrieves detailed information about a single category. This includes applicable attributes, a legal notice (for categories that have one), available listing durations, listing fees and information about whether classifieds and/or auctions are allowed to be sold within the category.

Note: this API does not require authentication, but without authentication the information returned from this API is less accurate. It is highly recommended that you authenticate when calling this API.

GET v1/categories/{category}/fees

Retrieves a list of fees for a specific category.

Some categories are currently unsupported (including subcategories): 350 (Real Estate), 5000 (Jobs) and 36 (Businesses for sale).

This API is deprecated in favour of the category details API.
GET v1/categories/{number}

Retrieves all or part of the Trade Me category tree.

GET v1/Categories

Retrieves all or part of the Trade Me category tree.

GET v1/categories/jobs

This is a convenience method that returns jobs categories from Trade Me Jobs.

GET v1/categories/{category}/legalNotice

Retrieves the legal notice that the user is required to agree to before listing. Most categories do not require that the user agree to a legal notice - these categories will return an empty string.

This API is deprecated in favour of the category details API.
GET v1/Charities

Retrieves a collection of charities available to donate to when listing.

GET v1/categories/{category}/durations

Retrieves the default duration and the duration options that are available for listings in a specific category.

Some categories are currently unsupported (including subcategories): 350 (Real Estate), 5000 (Jobs) and 36 (Businesses for sale).

This API is deprecated in favour of the category details API.
GET v1/SearchOptions/Localities/@{latitude},{longitude}

Retrieves search options for a locality that matches the provided geo-location point.

GET v1/SearchOptions/Locations

Retrieves the complete location hierarchy (regions, districts, suburbs) in a single call. Supports multi-region selection by echoing the selection state.

GET v1/attributesuggestions/{id}/{input}

Returns a list of attribute values that match the string provided

GET v1/tmareas

Returns a list of towns used in member registration. This information is displayed on member profile as the “suburb” and also on listings where the approximate location of goods is important, such as in Trade Me Motors.

GET v1/MotorbikeMakes

Retrieves a list of all motorbike makes. Can be used when searching.

This API is deprecated.
GET v1/categories/motorbikes

This is a convenience method that returns all subcategories from the Motorbikes category.

Names of these subcategories represent applicable values for the ‘type’ parameter in Motorbike search.

GET v1/SearchOptions

Retrieves a list of options for a search filter. The list of options may depend on the value of another filter.

GET v1/Categories/Property

This is a convenience method that returns property categories.

GET v1/localities/region/{regionId}

Returns the districts and suburbs within the region with the given ID. These values are used in Trade Me Property, Trade Me Jobs and Services.

GET v1/localities/region/{regionId}/{districtId}/{suburbId}

Returns a specific suburb. These values are used in Trade Me Property, Trade Me Jobs and Services.

GET v1/localities

Returns a three-tier locality hierarchy of regions, districts and their respective suburbs (including adjacent suburbs, if they have them). These values are used in Trade Me Property, Trade Me Jobs and Services.

GET v1/localities/regions

Returns a three-tier locality hierarchy of regions, districts and their respective suburbs (including adjacent suburbs, if they have them). These values are used in Trade Me Property, Trade Me Jobs and Services.

This API is identical to the localities API. Use that one instead.
GET v1/localities/region/{regionId}/{districtId}

Returns the suburbs within a district. These values are used in Trade Me Property, Trade Me Jobs and Services.

GET v1/SiteStats

Retrieves statistics about the Trade Me website, including the number of active members and the number of active listings.

GET v1/TopSellerCriteria

Returns Top Seller Criteria

GET v1/travelareas

Returns a list of districts and suburbs as used by TradeMe travel.

GET v1/categories/usedcars

This is a convenience method that returns ‘Used car’ child categories from Trade Me Motors.

GET v1/SearchPromotions

Retrieves a list of curated promotions, where each promotion links to a search.

Document Service Methods

These methods expose document upload, download, and list functionailty to Job applicants

DELETE v1/mytrademe/SavedDocuments/{savedDocumentId}

Deletes a CV, cover letter or document.

GET v1/mytrademe/SavedDocuments/{savedDocumentId}

Retrieves the metadata and content of a specific CV, cover letter or document.

GET v1/mytrademe/SavedDocuments

Retrieves a list of your saved CVs, cover letters and/or other documents. The actual document data is not returned, only the metadata.

POST v1/mytrademe/SavedDocuments

Uploads a new CV, cover letter or document.

Favourite Methods

These methods allow you to view and save and modify saved searches, categories and sellers for the currently authenticated user.

DELETE v1/favourites/{favouriteId}/{type}

Deletes a saved search, category or seller from the currently authenticated user's favourites.

GET v1/favourites/{favouriteId}/searchurl

Retrieves the canonical search URL for one of the currently authenticated user's favourite searches.

GET v1/favourites/categories

Retrieves the list of favourite categories for the currently authenticated user.

GET v1/favourites/searches/{filter}

Retrieves the list of favourite searches for the currently authenticated user.

GET v1/favourites/searches-detail/{filter}
GET v1/favourites/sellers

Retrieves the list of favourite sellers for the currently authenticated user.

POST v1/favourites/category

Saves a category to the currently authenticated user's list of favourite categories.

POST v1/favourites/search

Saves a search to the currently authenticated user's list of favourite searches. Can also be used to save a favourite category or seller with the option of specifying basic filters (condition, Buy Now, Pay Now) and sort order.

POST v1/favourites/seller

Saves a seller to the currently authenticated user's list of favourite sellers.

POST v1/favourites/{favouriteId}/{type}/{frequency}

Modifies the email frequency for a saved favourite.

PUT v1/favourites/{favouriteId}/{type}/label

Updates the label for a specific favourite.

Fixed Price Offer Methods

These methods allow you to retrieve a list of members you can make a fixed price offer to, as well as make and withdraw a fixed price offer.

POST v1/FixedPriceOffers/MakeOffer

Makes a fixed price offer for an auction to the specified members. The auction must have finished closing and must have been in the closed state for less than 45 days.

POST v1/FixedPriceOffers/Respond

Accepts or rejects a fixed price offer.

Note: When buyer fees apply (Casual listings), this endpoint is only accessible to Trade Me first-party API consumers. Third-party API consumers will receive an error response.

GET v1/FixedPriceOffers/{listingId}/Members

Returns a list of members you can make a fixed price offer to for a particular auction with 'All' filter.

GET v1/FixedPriceOffers/{listingId}/Members/{filter}

Returns a list of members you can make a fixed price offer to for a particular auction.

GET v1/FixedPriceOffers/Offered

Retrieves a list of the active fixed price offers that have been made by the currently authenticated user.

Only active offers are returned. A fixed price offer is active if it has not expired, has not been accepted and has not been rejected by all participants.

GET v1/FixedPriceOffers/List

Retrieves a list of the outstanding fixed price offers that have been offered to the currently authenticated user.

POST v1/FixedPriceOffers/WithdrawOffer

Withdraws an offer that is current and not expired, accepted or rejected by all users.

Job Agent Methods

These methods expose job agent related endpoints

GET v1/Jobs/Members/{memberId}/Agent/Report/{filter}

Retrieves a report of the job agent's listings

GET v1/Jobs/Members/{memberId}/Agent/Summary

Retrieves a six month summary of a job agent's activity

Job Company Methods

Methods for retrieving and managing job companies

POST v1/Jobs/Companies

Creates a company for the currently logged in member, or returns their existing company if they already have one

GET v1/Jobs/Companies

Retrieves companies for the currently logged in member

Job Listing Methods

These endpoints expose capabilities to get job recommendations and other recommendations network data.

POST v1/Jobs/Listings/SalarySuggestions

This method is to retrieve a salary suggestion for the given listing details

Job Position Methods

These methods expose the ability to manage and retrieve job positions

POST v1/Jobs/Positions

Creates a job Position

POST v1/Jobs/Positions/{positionId}/Children

Relists or lists a similar position as a child of the specified position

GET v1/Jobs/Positions/{positionId}

Retrieves a position

GET v1/Jobs/Positions

Retrieves paginated set of positions for a member or company

POST v1/Jobs/Positions/Track

Tracking the listing process

POST v1/Jobs/Positions/{positionId}

Updates an existing job position

Jobs Catalogue Methods

Jobs catalogue lookup methods

GET v1/Jobs/Catalogue/PositionPackages

Returns a set of position package tiers

GET v1/Jobs/Catalogue/PreferredApplicationModes

Returns a list of preferred application modes

GET v1/Jobs/Catalogue/EmploymentDurationTypes

Returns a list of Employment duration types

GET v1/Jobs/Catalogue/EmploymentTypes

Returns a list of Employment types

GET v1/Jobs/Catalogue/PayTypes

Returns a list of pay types

GET v1/Jobs/Catalogue/HourlyRateValues

Returns a list of valid hourly rates.

GET v1/Jobs/Catalogue/SalaryValues

Returns a list of valid salary options.

Jobs Payment Methods

These methods expose jobs payment related endpoints

GET v1/Jobs/Payments/JobPacks/{jobPackId}

Retrieves fee information about a specific Job Pack

GET v1/Jobs/Payments/FeeApiJobsAccessInformationProviders

Retrieves fee information for job products including Job Packs and Volume Plans Specifically information that does not relate to purchasing a specfic listing

GET v1/Jobs/Payments/Invoices/JobPacks/{invoiceId}

Retrieves a Job Pack invoice for a member

GET v1/Jobs/Payments/Invoices/JobPacks

Retrieves a collection of Job Pack invoices associated with an authenticated member

Listing Enquiries Methods

Methods for enquiries made for a specific listing

GET v1/listings/{listingId}/enquiries

Retrieve all enquiries made for a specific listing.

Listing Methods

Provides services related to listings.

POST v1/listings/{listingId}/addreview

Adds your review to a listing. Currently only applicable to services listings. You must be authenticated to post a review. You cannot post a review on your own listing.

POST v1/listings/{listingId}/questions/{questionId}/answerquestion

Post a response to a specific question on a listing. Only available to the seller of the listing. The member who asked the question will be notified.

POST v1/listings/{listingId}/editreview

Edits one your reviews. Currently only applicable to services listings.

POST v1/listings/{listingId}/addcomment

Adds a question (or a comment) to a listing. The seller will be notified.

DELETE v1/Listings/{listingId}/questions/{commentId}

Delete a specific comment on a listing.

GET v1/listings/questions/unansweredquestions

Retrieves a list of all the unanswered questions for all live auctions of the authenticated user.

GET v1/listings/closing

Retrieves the items closing soon for the whole country or for a single region.

GET v1/listings/cool

Retrieves the list of current cool listings.

GET v1/listings/hot

Retrieves the hot items for the whole country or for a single region.

GET v1/listings/latest

Retrieves the latest listed items for the whole country or for a single region.

GET v1/listings/onedollar

Retrieves the items with one dollar reserves for the whole country or for a single region.

GET v1/listings/{listingId}/questions

Retrieves the list of questions (and associated answers) for a listing.

GET v1/Listings/Recommendations

Retrieve a list of recommended listings, tailored to the current user.

GET v1/listings/{listingId}/reviews

Retrieves reviews for a listing. Currently only applicable to services listings.

GET v1/listings/{listingId}/related

Retrieves items that are related to a listing.

GET v1/listings/{listingId}

Retrieves the details of a single listing.

GET v1/listings/{listingId}/questions/unansweredquestions

Retrieves all of the unanswered questions for a single listing.

GET v1/listings/{listingId}/Complementary

Retrieves complementary items for a given listing.

POST v1/listings/{listingId}/EmailPropertySeller

Sends an email to the seller of a property classified. If possible, the listing will be added to the authenticated member's watchlist.

POST v1/listings/{listingId}/emailSeller

Sends a message to the seller of a classified via email. If possible, the listing will be added to the authenticated member's watchlist.

POST v1/listings/{listingId}/emailFriend

Sends a message to a friend via an email.

Membership Methods

Membership catalogue methods allow you to retrieve profile, feedback and listing data for a member.

GET v1/member/{memberId}/Feedback/{filter}

Retrieves feedback information for a member. Can be filtered.

GET v1/member/{memberId}/FeedbackCount

Returns feedback summary information for a member.

GET v1/member/{memberName}

Retrieves the member ID for the member, given their nickname.

GET v1/member/{memberId}/profile

Retrieve the public profile for any member.

My Trade Me Methods

These methods expose data and functionality typically accessed from a user’s My Trade Me pages.

POST v1/mytrademe/DeliveryAddresses

Adds a delivery address to the authenticated user's profile. The phone number, if present, is ignored.

POST v1/mytrademe/watchList/{listingId}

Adds a listing to the authenticated user's watchlist. Alternatively see the Add a listing to your watchlist with options endpoint for more options.

POST v1/mytrademe/WatchList/Add

Adds a listing to the authenticated user's watchlist with the option to control when and if an email is sent to the member warning that the auction is closing soon.

POST v1/MyTradeMe/RequestOffer

Sends an email to the seller of a listing asking that they make a fixed price offer.

POST v1/MyTradeMe/RequestRelist

Sends an email to the seller of a listing asking that they relist the item.

POST v1/mytrademe/Blacklist/Add

Adds a member to the authenticated user's blacklist.

POST v1/mytrademe/ApplyAddressVerificationCode

Confirm address verification by applying the code that has been physically mailed to the member

POST v1/MyTradeMe/Notes

Creates or updates the note on a listing.

DELETE v1/MyTradeMe/Notes/{listingId}/{noteId}/{offerId}

Removes the note from a listing.

DELETE v1/MyTradeMe/CourierParcels/{courierParcelId}

Delete an existing Courier Parcel by Id

DELETE v1/mytrademe/PaymentInstructions

Removes your payment instructions template.

GET v1/mytrademe/sellingitems/categorycounts

Gets a list of the authenticated user's active listing counts, grouped by category.

POST v1/mytrademe/feedback

Places feedback on the buyer or seller of an auction.

POST v1/mytrademe/PayNowRefund

Refunds a Pay Now payment where the authenticated user is the seller.

Note that this API currently only works if the auction closed less than 45 days ago. If you need a refund for an auction that is older than this, please contact cusomter support.

DELETE v1/mytrademe/DeliveryAddresses/{deliveryId}

Removes a delivery address from the authenticated user's profile.

DELETE v1/mytrademe/lost/{listingId}

Hides a listing from the lost items list.

DELETE v1/mytrademe/unsolditems/{listingId}

Hides a listing from the unsold items list.

DELETE v1/mytrademe/WatchList/{listingId}

Removes a listing from the authenticated user's watchlist.

Note: an auction that the user has bid on cannot be removed.

DELETE v1/mytrademe/Blacklist/{memberId}

Removes a member from the authenticated user's blacklist.

DELETE v1/mytrademe/won/{purchaseId}

Hides a listing from the won items list.

DELETE v1/mytrademe/solditems/{purchaseId}

Hides a listing from the sold items list.

DELETE v1/MyTradeMe/Status/{listingId}/{offerId}

Deletes the status from a listing in the authenticated user's Sold Items list.

This API cannot handle multiple quantity listings. Use the delete status API that takes a purchase ID instead.
DELETE v1/MyTradeMe/Status/{purchaseId}

Deletes the status from a listing in the authenticated user's Sold Items list.

DELETE v1/mytrademe/Feedback/{feedbackId}

Removes feedback the authenticated user has posted against a listing.

POST v1/mytrademe/RequestAddressVerification

Request address verification letter to be physically mailed to the membership

POST v1/MyTradeMe/FixedPriceOffer

Accepts or rejects a fixed price offer. This API is identical to this one.

Note: When buyer fees apply (Casual listings), this endpoint is only accessible to Trade Me first-party API consumers. Third-party API consumers will receive an error response.

POST v1/mytrademe/Feedback/Reply

Replies to feedback placed against a listing where the authenticated user was the seller.

GET v1/MyTradeMe/Notes/{listingId}

Retrieves the note for a listing, if there is one.

GET v1/MyTradeMe/BuyerOffers

Retrieves buyer offer negotiations for active listings. Returns the full negotiation history (all offer statuses) for each listing where the authenticated user is the buyer.

GET v1/Purchases/{purchaseId}/Feedback

Retrieves feedback for a single purchase, both placed and received.

GET v1/mytrademe/productmappings

Retrieves a list of product codes and stock levels associated with the authenticated user's active listings. The results will return data from feeds and My Products.

Feeds and My Products are no longer supported via the Trade Me API; please use the Tradevine API instead. The list returned by this API will now always be empty.
GET v1/mytrademe/paynowsettlement/{batchId}

Returns Pay Now ledger entries for a settlement into the authenticated user's bank account.

GET v1/mytrademe/memberledger/{filter}

Gets the member ledger for the authenticated user.

GET v1/mytrademe/Blacklist

Retrieves a list of all the members on the authenticated user's blacklist.

GET v1/mytrademe/DeliveryAddresses

Retrieves a list of delivery addresses for the authenticated user.

GET v1/mytrademe/emailoptions

Retrieves the authenticated user's email preferences.

GET v1/mytrademe/sellingitems/{filter}

Retrieves the authenticated user's active listings. Listings that are in the closing state are included in the list.

GET v1/mytrademe/lost/{filter}

Retrieves listings the authenticated user lost. A listing counts as "lost" if it is on the user's watchlist when it closes.

GET v1/mytrademe/paynowledger/{filter}

Returns Pay Now ledger entries for the authenticated user. If the authenticated user isn't Pay Now enabled, returns an error message.

GET v1/mytrademe/PaymentInstructions

Retrieves your payment instructions template. The payment instructions template affects the behaviour of listings with the SendPaymentInstructions flag set. Specifically if a listing with that flag sells, the buyer will be sent a payment instructions email that contains the text of your payment instructions template and the buyer can view the payment instructions from the Trade Me website, mobile apps or third-party tools.

GET v1/mytrademe/summary

Retrieves full statistics and profile information for the authenticated user.

GET v1/mytrademe/solditems/{filter}

Retrieves a list of sales for the authenticated user. Multiple-quantity auctions can have multiple sales. Note that multiple items can be sold in a single sale (the QuantitySold field will contain the number of items sold).

GET v1/MyTradeMe/TopSellerSummary

Retrieve information for the authenticated user on if they have, or are eligible for Top Seller status.

GET v1/mytrademe/FixedPriceOffers

Retrieves a list of the outstanding fixed price offers that have been offered to the currently authenticated user. This API is identical to this one.

GET v1/mytrademe/unsolditems/{filter}

Retrieves a list of the authenticated user's unsold listings. Multiple-quantity auctions count as unsold if there is a least one item remaining (i.e. Quantity > 0). Listings that are in the closing state are not included in the list.

GET v1/mytrademe/watchlist/{filter}

Retrieves a list of items on the authenticated user's watchlist.

GET v1/MyTradeMe/SalesSummary

Retrieve sales statistics for the authenticated user.

This API is deprecated in favour of the GetWeeklySummary endpoint
GET v1/MyTradeMe/WeeklySummary

Retrieve sales statistics for the authenticated user.

GET v1/mytrademe/won/{filter}

Retrieves a list of purchases for the authenticated user. Multiple-quantity auctions can be purchased multiple times.

GET v1/mytrademe/propertyagentreport/{filter}

Retrieves the Property Agent report for the authenticated user.

POST v1/MyTradeMe/Status/{listingId}/{offerId}/{stat}

Saves a status to a listing in the authenticated user's Sold Items list.

This API cannot handle multiple quantity listings. Use the save status API that takes a purchase ID instead.
POST v1/MyTradeMe/Status/{purchaseId}/{stat}

Saves a status to a listing in the authenticated user's Sold Items list.

POST v1/mytrademe/SendPaymentInstructions/{purchaseId}

Sends payment instructions to the winner of an auction. This will send an email to the buyer and will make the payment instructions available on the Trade Me website, mobile apps and third-party tools. Payment instructions can only be sent once, and cannot be sent at all if the buyer has already paid via Pay Now. You can check if payment instructions have been sent using the InvoiceId field (in the sold items API) or the PaymentInstructions field (in the listing details API). You can check if the buyer has paid using Pay Now using the IsPayNowPurchase field (in the sold items API) or the HasPaidByCreditCard field (in the listing details API).

POST v1/mytrademe/InTrade

Set whether the member is a professional trader. If they are a professional trader then their listings are protected by the Consumer Guarantees Act. See also get in trade reasons API.

POST v1/mytrademe/emailoptions

Sets the authenticated user's email preferences.

POST v1/mytrademe/CustomerSupportEnquiry

Submits a new enquiry message to Trade Me customer support.

POST v1/MyTradeMe/CourierParcels

Track a Courier Parcel

POST v1/mytrademe/DeliveryAddresses/Update

Modifies a delivery addresses in the authenticated user's profile. The phone number, if present, is ignored.

POST v1/MyTradeMe/CourierParcels/{courierParcelId}

Update an existing Courier Parcel by Id

POST v1/mytrademe/UpdateEmailAddress

Update the user's email address.

POST v1/mytrademe/Feedback/Update

Modifies feedback the authenticated user has posted against a listing.

POST v1/mytrademe/PaymentInstructions

Updates your payment instructions template. If you don't have a payment instructions template, it will be created. The payment instructions template affects the behaviour of listings with the SendPaymentInstructions flag set. Specifically if a listing with that flag sells, the buyer will be sent a payment instructions email that contains the text of your payment instructions template and the buyer can view the payment instructions from the Trade Me website, mobile apps or third-party tools. Note that buyers see the payment instructions as they were at the time of the sale; if you update the template it will only affect new sales.

OAuth Methods

Handles OAuth request token and access token generation.

GET OAuth/AccessToken

Creates an oauth Access token with the given consumer information. This is the last step in the OAuth 1 process

GET OAuth/RequestToken

Creates an oauth request token with the given consumer information. This is the first step in the OAuth 1 process

Office enquiries methods

Office enquiries methods

GET v1/Property/Enquiries/Office

Returns a page of listing enquiries received by the authenticated office/agency, newest first, optionally limited to a date range.

Authentication: requires the MyTradeMeRead permission. The office/agency is the member the access token was issued for; there is no office ID in the URL. The member must be a property agent account. Which enquiries are included: enquiries on listings owned by the authenticated member, enquiries on listings owned by agents whose office is the authenticated member, and enquiries received by those agents. There is no default date range: if neither startDate nor endDate is given, every matching enquiry is returned (page by page). Results are ordered by enquiry date, newest first. Errors: 400 if the access token does not identify a member ("'memberId' was not found in authentication token."), if page or pageSize is not an integer, if startDate or endDate is not a valid date, if page is less than 1 ("Page must be greater than 0."), if pageSize is outside 1 to 200 ("Page size must be between 1 and 200."), or if startDate is after endDate ("Start date cannot be after end date."). 403 if the authenticated member is not found or is not a property agent ("Access denied. Member is not a property agent.").

Photo Methods

These methods allow photos to be listed, added and removed for the authenticated user.

POST v1/photos/{photoId}/Add/{listingId}

Adds a photo to an auction. The currently authenticated user must be the seller.

This API can currently only add a single photo to an auction without any photos. It is recommended that photos are instead specified when creating a listing or when using the edit listing API (both APIs can handle multiple photos).

GET v1/photos/{photoId}

Get a collection of the different URLs for a given photo ID

DELETE v1/photos/{photoId}/Remove

Removes a photo from the authenticated user's list of photos.

DELETE v1/photos/memberprofile

Removes the member's profile image

These images are retained indefinitely.

GET v1/photos/{photoId}/Metadata

Analyse the photo to check whether the photo is a logo or a photo.

GET v1/photos

Returns a list of all currently available photos uploaded by authenticated user.

GET v1/photos/details

Returns a list of all currently available photos uploaded by authenticated user. Includes information about which auctions are currently using each photo.

POST v1/Photos/ImageSearch

Converts a photo into a search that can be executed to find listings that are similar to the given photo.

POST v1/photos/Add

Adds the photo to the authenticated user's list of photos. These photos can be used when selling.

Our photo retention policy is as follows:

  • Photos that were uploaded less than 10 days ago are not eligible for deletion.
  • Photos that are used in an active listing are not eligible for deletion.
  • Photos that were used in an auction that closed less than 45 days ago are not eligible for deletion.
All other photos may be deleted at our discretion.

It is recommended that a new photo be uploaded whenever you create a new listing. If you are relisting then uploading a new photo is not required, since you cannot relist a listing that closed more than 45 days ago.

POST v1/photos/agentbranding

Adds the agent branding image to the authenticated user's list of agent branding images. These images can be used to enhance an agent contact details. This API method is currently available only for property agents.

These images are retained indefinitely.

POST v1/photos/memberprofile

Uploads and sets the member's profile image.

These images are retained indefinitely.

Ping Methods

These methods expose data and functionality for a user's Ping account.

GET v1/Ping/Transactions

Gets the ping balance ledger for the logged in member

POST v1/Ping/Transactions/Refunds

Performs full or partial refunds against a Ping purchase. Can be called multiple times for partial amounts.

Property Agency Methods

Property agency methods for working with offices.

GET v1/Property/Office/ListingStatistics

Returns a page of listing statistics for all current listings listed by the calling office, including a break up by day and suburb. The office is the authenticated member making the request, so this call takes no member ID.

Authentication: requires the MyTradeMeRead permission. This is the office-level view: statistics are returned for the listings of the authenticated member, so call it with the office account's credentials. There is no way to request another member's listings. To see one agent's listings use Agents/{memberId}/LiveListingStatistics. Errors: HTTP 429 with "You have exceeded your API call quota for the current hour." when the hourly rate limit is exceeded. HTTP 400 when days is outside 1 to 31, when only one of from_date and to_date is supplied, when a date is not a valid date, when from_date is after to_date, or when the date range is longer than 31 days.

GET v1/Property/Office/{officeMemberId}/LiveListingStatistics

Retrieves the live (currently open) property listings of an office, together with basic statistics for each listing and daily statistics for the office as a whole. The listings returned are those of all agents in the office. This endpoint is available for all Trade Me partner API accounts. It is rate limited per consumer per hour.

Authentication: requires the MyTradeMeRead permission. This is the office-level view: the caller must act for the office identified by officeMemberId, either by being that office or by being a member with a confirmed connection to it. Any other caller receives HTTP 403. To see one agent's listings use Agents/{memberId}/LiveListingStatistics instead. Errors: HTTP 429 with "You have exceeded your API call quota for the current hour." when the hourly rate limit is exceeded. HTTP 403 when the caller is not permitted to act for the office. HTTP 400 when days is outside 1 to 31, when only one of from_date and to_date is supplied, when a date is not a valid date, when from_date is after to_date, or when the date range is longer than 31 days. The call fails with HTTP 500 and a generic server error message if officeMemberId has no office profile.

GET v1/Property/Office/{officeMemberId}/HomesListingStatistics/{listingId}

Retrieves homes.co.nz statistics (views, email enquiries and click to calls) for one of an office's residential property listings, for a date range you supply.

Authentication: requires the MyTradeMeRead permission. This is an office-level call: officeMemberId must be an office account, the caller must act for that office (be the office, or a member with a confirmed connection to it), and the listing must be owned by that office. Listings that belong to an individual agent's own account are not accessible through this call. Errors: HTTP 400 "Invalid Member ID." when officeMemberId is not a positive integer. HTTP 404 when the member ("The member {id} was not found.") or the listing ("Listing cannot be found") does not exist. HTTP 403 "Member is not a property agent" when officeMemberId is not an office account. HTTP 403 when the caller is not permitted to act for the office. HTTP 400 "Listing ID is not valid" when listingId cannot be read as a listing ID. HTTP 403 "Listing is not a property listing" when the listing is not in a property category. HTTP 400 "Member {id} does not have authority to access for Listing {id}" when the listing is not owned by the office. HTTP 400 "homes.co.nz statistics are not available for this category" when the listing's category is not shown on homes.co.nz. HTTP 400 "Required query params were not provided" or "Required query params are not valid" when from_date or to_date is missing, is not in yyyy-MM-dd format, or from_date is after to_date.

Property Agent Methods

Property agents methods.

GET v1/Property/Agents/{memberId}/LiveListingStatistics

Retrieves the live (currently open) property listings of one agent, with basic statistics for each listing and daily statistics for the agent's office. This endpoint is available for all Trade Me partner API accounts, however it is rate limited to 100 calls per hour per consumer.

Authentication: requires the MyTradeMeRead permission. The caller must be the agent themselves, the office the agent belongs to, or a member with a confirmed connection to the agent (a delegate). An office can only request agents that belong to that office. Any other caller receives HTTP 403. A delegate cannot request an agent whose account is an administrator account. This is the agent-level view. To see statistics for all of an office's listings use the office endpoints (Office/{officeMemberId}/LiveListingStatistics or Office/ListingStatistics). Errors: HTTP 429 with "You have exceeded your API call quota for the current hour." when the hourly rate limit is exceeded. HTTP 403 when the caller is not permitted to act for the agent. HTTP 400 when days is outside 1 to 31, when only one of from_date and to_date is supplied, when a date is not a valid date, when from_date is after to_date, or when the date range is longer than 31 days.

Property Map Methods

Property Map Methods

POST v1/Property/Map/Dots

Get map dots for a given search request

Restricted to approved applications. This operation is only available to applications that Trade Me has approved for it. Other applications receive HTTP 401 with the message "This operation is not valid for your application".

Property Sold Search Methods

Property Sold Search methods

POST v1/Property/Sold/Search

Get search card based on address, points, or polyline

Restricted to approved applications. This operation is only available to applications that Trade Me has approved for it. Other applications receive HTTP 401 with the message "This operation is not valid for your application".

Region Search Methods

Class that store the functions related to finding Region details under /Property/Sold

GET v1/Property/Sold/Region/{regionId}

Get region details based on regionId. The regionId is the region's locality id, as used by v1/Localities/Region/{regionId}. E.g 3 for Canterbury

Renti Methods

Contains methods that relate to Renti

GET v1/Property/Renti/ViewingTimes/{listingId}

Retrieve renti viewing times for a listing.

GET v1/Property/Renti/MemberStatus

Retrieve renti status of the logged in member. Member will be inferred from context.

POST v1/Property/Renti/Enquiry/{listingId}

Send Renti enquiry request for a listing.

POST v1/Property/Renti/Viewing/{listingId}

Send Renti viewing request for a listing.

POST v1/Property/Renti/MemberStatus

Update renti status of the member. Member will be inferred from context.

Search Methods

These methods allow you to search for items on Trade Me.

DELETE v1/Search/RecentSearches

Clear any or all recent searches recorded against the user's profile.

GET v1/Search/Property/CommercialLease

Searches commercial property listings for lease on Trade Me Property, with optional location, floor area and land-use filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, featured listings are shown first, with premium listings given priority among them. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings). sort_order is case-insensitive; an unrecognised value is ignored.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/Property/CommercialSale

Searches commercial property listings for sale on Trade Me Property, with optional location, price and land-use filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, featured listings are shown first, with premium listings given priority among them. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings). sort_order is case-insensitive; an unrecognised value is ignored.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

DELETE v1/Search/RecentSearches/{searchId}

Delete a single recent search.

GET v1/Search/Flatmates

Searches the Flatmates Wanted category, with optional location, weekly rent, bedroom, bathroom and household preference filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, the default flatmates ordering is used. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings). sort_order is case-insensitive; an unrecognised value is ignored.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/General

Allows you to search for listings on Trade Me by category, by keywords or a combination of these two. The result set can be filtered by a variety of properties, including availability of Buy Now, Pay Now, item condition or seller.

Parameters listed below apply to all categories. Additional parameters are available for certain categories (for example, category 3405, digital cameras). Use the return_metadata parameter in combination with the category parameter to retrieve information about the available parameters.

This API is not recommended to search for Residential property as some categories will be excluded unless specified. To search for Residential property use the Residential Search API.

GET v1/Search/Suggestions

Returns up to three collections of search suggestions all based on the passed in search term: Autosuggestions - suggestions based on similar search terms popular with the Trade Me community Recent searches - suggestions based on previous searches the logged in member has performed Category suggestions - suggestions based on categories similar to the passed in search term.

GET v1/Search/Jobs

Performs a search in Trade Me Jobs.

GET v1/Search/Property/Lifestyle

Searches lifestyle property listings (lifestyle dwellings and bare land) on Trade Me Property, with optional location, price, bedroom, bathroom and land area filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, featured listings are shown first, with premium listings given priority among them. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings); EarliestOpenHome (listings with the soonest upcoming open home first) is also offered. sort_order is case-insensitive; an unrecognised value is ignored.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

POST v1/Search/Suggestions

Modifies the user's search suggestion settings.

GET v1/Search/Motors/Bikes

Performs a filtered keyword search in the Motorbikes section of Trade Me Motors.

GET v1/Search/Motors/Boats

Performs a filtered keyword search in the boats section of Trade Me Motors. Use the optional parameters to narrow down the items returned in the response.

GET v1/Search/Property/NewHomes

Searches new homes listings on Trade Me Property, with optional location, price, bedroom, bathroom and property type filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, listings with a premium package are shown first. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings); EarliestOpenHome (listings with the soonest upcoming open home first) is also offered. sort_order is case-insensitive; an unrecognised value is ignored.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/Property/OpenHomes

Searches residential listings that have upcoming open homes on Trade Me Property, with optional location, price, bedroom, bathroom, floor area and land area filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, the default open homes ordering is used. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings); EarliestOpenHome (listings with the soonest upcoming open home first) is also offered. sort_order is case-insensitive; an unrecognised value is ignored.

Open home times: each listing carries its upcoming open homes in OpenHomes.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/PriceHistogram

Retrieve price grouping data representing the price distribution of listings retrieved from a given search query. Intended to be rendered as a histogram.

GET v1/Search/Property/Rental

Searches residential rental listings on Trade Me Property, with optional location, weekly rent, bedroom, bathroom and property type filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member (and HasEnquired, which shows whether the member has already enquired about the rental), and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, featured listings are shown first, with premium listings given priority among them. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings). sort_order is case-insensitive; an unrecognised value is ignored.

Suburb profile: when suburb identifies a single suburb that has a profile page, SuburbUrl in the response gives the path to that page.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/Property/Residential

Searches residential property listings for sale on Trade Me Property, with optional location, price, bedroom, bathroom, property type and feature filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, listings with a premium package (Gold and Platinum, then Silver, then Starter or feature combo, then base listings) are shown first, with a secondary ordering by refresh date. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings); EarliestOpenHome (listings with the soonest upcoming open home first) is also offered. sort_order is case-insensitive; an unrecognised value is ignored.

Suburb profile: when suburb identifies a single suburb that has a profile page, SuburbUrl in the response gives the path to that page.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/Property/Retirement

Searches retirement village listings on Trade Me Property, with optional location, price and property type filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, featured listings are shown first, with premium listings given priority among them. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings). sort_order is case-insensitive; an unrecognised value is ignored.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/RecentSearches

Retrieve the recent searches for the logged in member.

GET v1/Search/Property/Rural

Searches rural property listings on Trade Me Property, with optional location, price, land area and land-use filters. Returns one page of matching listings.

Authentication: optional. No OAuth permission is required, so the search can be called without signing the request. When the request is authenticated, IsOnWatchList is set on each listing for the member, and the higher rows limits apply. Listings that are marked as restricted from third-party API access are left out of the results unless your application has been given access to them.

Paging: results are returned one page at a time. TotalCount is the total number of matching listings (TotalCountTruncated is true when that count was capped), Page is the current page, and PageSize is the number of listings in List for this page. Request the next page by increasing page.

Sorting: When sort_order is omitted, listings with a premium package are shown first. The sort options offered in the search metadata are: Default (featured first), PriceAsc (lowest price), PriceDesc (highest price) and ExpiryDesc (latest listings); EarliestOpenHome (listings with the soonest upcoming open home first) is also offered. sort_order is case-insensitive; an unrecognised value is ignored.

Invalid values: numeric, date and true/false values that cannot be read are ignored and the default is used, except where a parameter above says an error is returned. Errors are returned as a 400 response with a description.

GET v1/Search/Property/Residential/Recommendations/HP

Performs a search in the residential section of Trade Me Property for listings in nearby suburbs with an active HP (Home Page) Recommendations listing extra. For Residential to Rent the qualifying extra is Top Tier instead, because only a rental Premium package writes the HP Recommendations extra and the fallback search can only filter on one timed feature.

GET v1/Search/Property/Residential/Recommendations/SRP

Performs a search in the residential section of Trade Me Property for listings in nearby suburbs with an active SRP Recommendations listing extra. For Residential to Rent the qualifying extra is Top Tier instead, because only Top Tier covers rental Premium granted outside a package.

GET v1/Search/Stores

Performs a search within the list of registered stores.

POST v1/Search/Property/SuburbPulse

SuburbPulse unified property search returning listings across six sections: new, sold, withdrawn, over 90 days old, price changed, and sell type changed. Supports filtering by location (up to 10 suburbs/districts/regions), price, bedrooms, bathrooms, timeframe, and status. Uses per-section offset pagination. Internal-only POST endpoint.

GET v1/Search/Motors/Used

Performs a filtered keyword search in the Used cars section of Trade Me Motors.

Selling Methods

These methods allow you to list an item on the site. When selling you can choose to either list and not view the fees that you will be charged, or get a response back to confirm the total fees for the particular listing you are creating.

POST v1/Selling/Drafts

Create a draft listing for use in the sell process

Authentication: requires an OAuth access token with the MyTradeMeWrite permission.

DELETE v1/Selling/Drafts/{draftId}

Delete an existing saved draft listing

Authentication: requires an OAuth access token with the MyTradeMeWrite permission. Drafts are private to the member who owns the token. A draft that does not exist or belongs to another member returns HTTP 400 with the message "The draft with this ID could not be found.".

POST v1/Selling/Edit

Edit an auction or classified that you have created. The listing must be active.

We recommend you call Retrieve the details of a single listing to populate the details of your edit listing request with any default values you are not changing. Any omitted values are treated as having been edited to a default value.

You will need to resubmit the complete sell form as used when you created the listing but with the fields you wish to edit modified.

Request format will error if fields are locked and cannot be edited.

Editing services (category 9334) is currently not supported via the API. Editing properties (category 350) and businesses for sale (category 36) is supported, but only for members who are registered property or rental agents.

Not all types of edits are currently supported. For example, attempting to move a motors listing into a general category is not supported and will fail.

Authentication: requires an OAuth access token with the MyTradeMeWrite permission (the same permission for every category). The listing must belong to the authenticated member.

Which listings can be edited: only live listings. If no live listing exists with the ListingId the call fails with HTTP 400 and the message "Listing id {id} is not valid". A listing that belongs to another member returns HTTP 200 with Success false and the message "Member {member id} does not own listing". Property listings that are coming soon cannot be edited (Success false, "Coming soon listings cannot be edited."). Editing is also refused (Success false, "Exceeded the allowed number of edits for a single live listing") once a listing has had more than 200 modifications for each day (rounded up) that it has been running.

Property and business-for-sale listings can only be edited by registered property agents. Fields that are locked for the listing cannot be changed and are reported as errors.

Finding out why a call failed. Business-rule failures (for example a validation message, a listing you do not own, or a listing in the wrong state) are returned with HTTP 200 and a ListingResponse whose Success is false and whose Description holds the reason; check Success, not only the HTTP status. Several validation messages are joined with new lines in Description, and each is prefixed with the attribute name as "For {attribute name} : {message}" when the message relates to an attribute. A request that cannot be processed at all (for example malformed JSON, or an invalid listing ID) is returned with HTTP 400 and an error body containing Request (the URL called) and ErrorDescription (the message), and, for some errors, Error (with Code, UserDescription and DeveloperDescription) and an Errors list when there is more than one. A missing or insufficient OAuth token returns HTTP 401 with an ErrorDescription naming the permission required. Any unexpected server error returns HTTP 500 with a generic message.

POST v1/Selling/Extend

Extends the duration of an active classified listing.

The resulting expiry date of the listing will be the current date and time plus the category-specific extension period, which is a number of days that depends on the category (for example 21 days for residential for sale and to rent, 84 days for new homes, 168 days for commercial property and 14 days for Motors and Flatmates Wanted; the period for a category is also returned as ExtensionPeriod by the category details API). This API is currently supported for classifieds in the following categories: Trade Me Property, Trade Me Motors and Businesses for Sale.

Authentication: requires an OAuth access token with the MyTradeMeWrite permission (the same permission for every category). The listing must belong to the authenticated member.

Which listings can be extended: only live classifieds. If no live listing exists with the ListingId the call fails with HTTP 400 and the message "Listing id {id} is not valid", and a live listing that is not a classified fails with HTTP 400 and "Only classified listings can be extended". The following return HTTP 200 with Success false: a listing owned by another member ("Member {member id} does not own listing"), a coming soon listing ("Coming soon listing cannot be extended"), and a category with no extension period ("Category {category name} is not yet supported by this method"), and a Motors car or bike listing with a bundle ("Car listing with a bundle cannot be extended. Please relist instead." or "Bike listing with a bundle cannot be extended. Please relist instead.").

Finding out why a call failed. Business-rule failures (for example a validation message, a listing you do not own, or a listing in the wrong state) are returned with HTTP 200 and a ListingResponse whose Success is false and whose Description holds the reason; check Success, not only the HTTP status. Several validation messages are joined with new lines in Description, and each is prefixed with the attribute name as "For {attribute name} : {message}" when the message relates to an attribute. A request that cannot be processed at all (for example malformed JSON, or an invalid listing ID) is returned with HTTP 400 and an error body containing Request (the URL called) and ErrorDescription (the message), and, for some errors, Error (with Code, UserDescription and DeveloperDescription) and an Errors list when there is more than one. A missing or insufficient OAuth token returns HTTP 401 with an ErrorDescription naming the permission required. Any unexpected server error returns HTTP 500 with a generic message.

GET v1/Selling/Drafts/{draftId}

Get a single saved draft listing for member

Authentication: requires an OAuth access token with the MyTradeMeWrite permission. Drafts are private to the member who owns the token. A draft that does not exist or belongs to another member returns HTTP 400 with the message "The draft with this ID could not be found.".

GET v1/Selling/Drafts

Get all saved draft listings for member

Authentication: requires an OAuth access token with the MyTradeMeWrite permission. Only the drafts of the member who owns the token are returned.

POST v1/Selling

Starts a new auction or classified.

You should call the category details API to determine approximate fees, attribute metadata, the legal notice, listing durations and more. The fees API can be used to determine exact fees. The member profile API also contains some relevant information.

Listing services (category 9334) is currently not supported via the API. Listing properties (category 350) and businesses for sale (category 36) is supported, but only for members who are registered property or rental agents.

Authentication: requires an OAuth access token with the MyTradeMeWrite permission. The permission is the same for every category; it is not specific to property.

Property and business-for-sale categories: the authenticated member must be a registered property agent. Otherwise the call fails with HTTP 400 and the message "The category "{category name}" is not supported for your membership type.".

Finding out why a call failed. Business-rule failures (for example a validation message, a listing you do not own, or a listing in the wrong state) are returned with HTTP 200 and a ListingResponse whose Success is false and whose Description holds the reason; check Success, not only the HTTP status. Several validation messages are joined with new lines in Description, and each is prefixed with the attribute name as "For {attribute name} : {message}" when the message relates to an attribute. A request that cannot be processed at all (for example malformed JSON) is returned with HTTP 400 and an error body containing Request (the URL called) and ErrorDescription (the message), and, for some errors, Error (with Code, UserDescription and DeveloperDescription) and an Errors list when there is more than one. A missing or insufficient OAuth token returns HTTP 401 with an ErrorDescription naming the permission required. Any unexpected server error returns HTTP 500 with a generic message.

POST v1/Selling/ListingTemporalExtraPromotion

Promote a listing with a Temporal (time based) Extra.

Boost and Super Feature renewal are no longer available on their own for rental listings from a property agent, because both are included in the rental premium packages. For those requests this call still returns success, but nothing is applied and nothing is charged; the response description says so. Where the agent's rental Partnership Agreement already carries Super Feature, the description says that instead. Every other member and category is unaffected.

Authentication: requires an OAuth access token with the MyTradeMeWrite permission. The listing must belong to the authenticated member.

Errors: HTTP 400 with an error body containing Request and ErrorDescription: "Listing {id} does not exist.", "You are not the seller of this listing.", or "{extra} cannot be purchased as a stand alone product within this category. For more information please contact the Trade Me support team." for categories where the extra is no longer sold on its own. Some other failures return an Error object with a Code, UserDescription and DeveloperDescription. A missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/Relist

Relist an item that has expired. Relists an item without modifying editable fields.

Relist copies all data from original listing and applies them to the new listing. The only exceptions are where there are default durations that are applied on relisted items.

Some categories are currently unsupported (including subcategories): 98 (Livestock), 1349 (Horses).

Authentication: requires an OAuth access token with the MyTradeMeWrite permission (the same permission for every category). The listing must belong to the authenticated member.

Listing IDs: a relist never reopens the original listing. It creates a new listing with a new ID, which is returned in ListingId, and Description starts with "{original id} relisted as {new id}.". Store the new ID; the original ID continues to refer to the closed listing.

Which listings can be relisted: only listings that have closed (expired, sold or withdrawn) and are still held in the closed-listing log. A listing that is still live is not found by this call. A listing that belongs to another member returns HTTP 200 with Success false and the message "Member {member id} does not own listing". Coming soon listings cannot be relisted (Success false, "Coming soon listings cannot be relisted.").

Not found: if the closed listing cannot be found this call returns HTTP 200 with Success false and the message "Could not find {listing id}". Relisting in an unsupported category returns Success false with "The category "{category name}" is not supported for a relist".

Finding out why a call failed. Business-rule failures (for example a validation message, a listing you do not own, or a listing in the wrong state) are returned with HTTP 200 and a ListingResponse whose Success is false and whose Description holds the reason; check Success, not only the HTTP status. Several validation messages are joined with new lines in Description, and each is prefixed with the attribute name as "For {attribute name} : {message}" when the message relates to an attribute. A request that cannot be processed at all (for example malformed JSON) is returned with HTTP 400 and an error body containing Request (the URL called) and ErrorDescription (the message), and, for some errors, Error (with Code, UserDescription and DeveloperDescription) and an Errors list when there is more than one. A missing or insufficient OAuth token returns HTTP 401 with an ErrorDescription naming the permission required. Any unexpected server error returns HTTP 500 with a generic message.

POST v1/Selling/RelistWithEdits

Relist an item that has expired, with altered listing details.

Mostly equivalent to relisting and then editing the resulting listing, but are some differences:

  • The email that gets sent out to watchers will contain the updated details.
  • If you remove a promotion using this API then you will not be charged for that promotion.

This API has the same limits in terms of what you can change as the edit API.

Authentication: requires an OAuth access token with the MyTradeMeWrite permission (the same permission for every category). The listing must belong to the authenticated member.

Listing IDs: a relist never reopens the original listing. It creates a new listing with a new ID, which is returned in ListingId, and Description starts with "{original id} relisted as {new id}.". Store the new ID; the original ID continues to refer to the closed listing.

Which listings can be relisted: only listings that have closed (expired, sold or withdrawn) and are still held in the closed-listing log. A listing that is still live is not found by this call. A listing that belongs to another member returns HTTP 200 with Success false and the message "Member {member id} does not own listing". Coming soon listings cannot be relisted (Success false, "Coming soon listings cannot be relisted.").

Not found: unlike the plain relist call, if the closed listing cannot be found this call fails with HTTP 400 and the message "Listing {listing id} not found". Relisting in an unsupported category returns Success false with "The category "{category name}" is not supported for a relist". Property and business-for-sale listings can only be relisted with edits by registered property agents.

Finding out why a call failed. Business-rule failures (for example a validation message, a listing you do not own, or a listing in the wrong state) are returned with HTTP 200 and a ListingResponse whose Success is false and whose Description holds the reason; check Success, not only the HTTP status. Several validation messages are joined with new lines in Description, and each is prefixed with the attribute name as "For {attribute name} : {message}" when the message relates to an attribute. A request that cannot be processed at all (for example malformed JSON, or an invalid listing ID) is returned with HTTP 400 and an error body containing Request (the URL called) and ErrorDescription (the message), and, for some errors, Error (with Code, UserDescription and DeveloperDescription) and an Errors list when there is more than one. A missing or insufficient OAuth token returns HTTP 401 with an ErrorDescription naming the permission required. Any unexpected server error returns HTTP 500 with a generic message.

POST v1/Selling/RemoveLeadingBid

Removes the leading bid from an auction. To remove a bid, you must be the seller of the auction.

POST v1/Selling/SuccessFees

Returns an estimate of the success fees that will be charged for a listing if it were sold at the given sale price. Success fees apply to InTrade sellers only. Casual listings do not incur success fees — the response will be empty for Casual sellers.

Authentication: requires an OAuth access token with the MyTradeMeRead permission. No fee is charged and nothing is changed by this call.

Errors: a request that cannot be processed returns HTTP 400 with an error body containing Request and ErrorDescription; a missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/EditFees

Returns a breakdown of the fees that will be charged for editing a listing, without actually editing anything.

Authentication: requires an OAuth access token with the MyTradeMeRead permission. No fee is charged and nothing is changed by this call.

Errors: HTTP 400 with the message "Could not find an active listing with ID {id}." if the listing is not live, and HTTP 400 with "You are not the seller of this listing." if it belongs to another member. A missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/Fees

Returns a breakdown of the fees that will be charged for a listing, without actually creating the listing.

Authentication: requires an OAuth access token with the MyTradeMeRead permission. No fee is charged and nothing is changed by this call.

Errors: a request that cannot be processed returns HTTP 400 with an error body containing Request and ErrorDescription; a missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/RelistFees

Returns a breakdown of the fees that will be charged for relisting a listing, without actually relisting anything.

Authentication: requires an OAuth access token with the MyTradeMeRead permission. No fee is charged and nothing is changed by this call.

Errors: HTTP 400 if the closed listing cannot be found, if its category is not supported for relisting, or if it belongs to another member ("You are not the seller of this listing."). A relist creates a new listing; see the relist method for how listing IDs change. A missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/RelistWithEditsFees

Returns a breakdown of the fees that will be charged for relisting a listing with edits, without actually relisting anything.

Authentication: requires an OAuth access token with the MyTradeMeRead permission. No fee is charged and nothing is changed by this call.

Errors: HTTP 400 if the closed listing cannot be found, if its category is not supported for relisting, or if it belongs to another member ("You are not the seller of this listing."). A missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/WithdrawFees

Returns the fees that will be charged for withdrawing a listing. An error is reported if the listing cannot be withdrawn.

Authentication: requires an OAuth access token with the MyTradeMeWrite permission (not MyTradeMeRead). No fee is charged and the listing is not withdrawn by this call.

Errors: HTTP 400 with "Could not find a listing with ID {id}." if the listing cannot be found, with "You are not the seller of this listing." if it belongs to another member, or with the same validation message the withdraw method would give if the withdrawal request is not valid or the listing is not live. A missing or insufficient OAuth token returns HTTP 401.

GET v1/Selling/Preferences

Retrieves the selling preferences of the authenticated member

Authentication: requires an OAuth access token with the MyTradeMeRead permission. The preferences returned are those of the member who owns the token.

GET v1/Selling/Listings/{listingId}

Retrieves the details of a single listing, in a format suitable for editing. This API only works if you are the seller of the listing.

Authentication: requires an OAuth access token with the MyTradeMeRead permission.

Listing state: live listings and listings that have closed can both be retrieved, so this method can also be used to read a closed listing before relisting it.

Errors: HTTP 400 with an error body containing Request and ErrorDescription: "Listing {id} does not exist." if the listing cannot be found, or "You are not the seller of this listing." if it belongs to another member. A missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/Drafts/{draftId}

Update an existing saved draft listing

Authentication: requires an OAuth access token with the MyTradeMeWrite permission. Drafts are private to the member who owns the token. A draft that does not exist or belongs to another member returns HTTP 400 with the message "The draft with this ID could not be found.".

POST v1/Selling/Preferences

Updates the selling preferences of the authenticated member

Authentication: requires an OAuth access token with the MyTradeMeWrite permission.

Errors: HTTP 400 with an error body containing Request and ErrorDescription: "Pick-up suburb is required" (ShowPickUpLocation is true but PickUpSuburbId is not greater than 0), "Pick-up suburb {id} is invalid", or "Donation Recipient {id} is invalid". A missing or insufficient OAuth token returns HTTP 401.

POST v1/Selling/Validate

Checks whether a listing request would be accepted, without creating or changing anything. Use it to find validation problems before you call the list an item or edit an item methods.

Authentication: requires an OAuth access token with the MyTradeMeRead permission.

Errors: validation problems are reported in the response body with HTTP 200, so check Success. A request that cannot be processed at all (for example malformed JSON, or a category that is not supported for selling, "The category is not supported for selling.") returns HTTP 400 with an error body containing Request and ErrorDescription. A missing or insufficient OAuth token returns HTTP 401. Property and business-for-sale categories can only be validated by registered property agents.

POST v1/Selling/Withdraw

Withdraw a live listing from Trade Me, either because it sold or because it did not sell.

Authentication: requires an OAuth access token with the MyTradeMeWrite permission (the same permission for every category). The listing must belong to the authenticated member.

Which listings can be withdrawn: only live listings. A listing that has already closed is rejected with "This listing has already closed." or "You can only withdraw live listings."; a listing that cannot be found with "Could not find {id}"; and a listing owned by another member with "Member {member id} does not own listing" (all HTTP 200 with Success false). An auction with less than one hour to run cannot be withdrawn ("Cannot withdraw an auction with less than one hour to run."), and a listing in a category where listings cannot be sold cannot be withdrawn as sold ("Listings in this category are unsellable, so you cannot specify it was sold."). Withdrawing a listing may incur a withdrawal fee or a success fee; call the withdraw fees API first to find out. For a multi-variant listing, every variant that is still open is withdrawn.

Request errors (HTTP 200, Success false, with these messages in Description): "If the listing was sold, you must specify a price.", "If the listing was not sold, you must specify the reason you are withdrawing.", "The reason you give must be 255 characters or less." and "The price must be greater than or equal to 0.".

Finding out why a call failed. Business-rule failures (for example a validation message, a listing you do not own, or a listing in the wrong state) are returned with HTTP 200 and a ListingResponse whose Success is false and whose Description holds the reason; check Success, not only the HTTP status. Several validation messages are joined with new lines in Description, and each is prefixed with the attribute name as "For {attribute name} : {message}" when the message relates to an attribute. A request that cannot be processed at all (for example malformed JSON) is returned with HTTP 400 and an error body containing Request (the URL called) and ErrorDescription (the message), and, for some errors, Error (with Code, UserDescription and DeveloperDescription) and an Errors list when there is more than one. A missing or insufficient OAuth token returns HTTP 401 with an ErrorDescription naming the permission required. Any unexpected server error returns HTTP 500 with a generic message.

SEO methods for internal linking

These methods allow you to Get SEO internal links on Trade Me.

GET v1/seo/motors/search

Gets the list of SEO links for the Motors search

GET v1/seo/property/search

Gets the list of SEO links for the Property search

GET v1/seo/motors/landingpage

Retrieves internal links for the Motors homepage.

GET v1/seo/property/landingpage

Retrieves internal links for the Property homepage.

SEO methods for landing page content

These methods allow you to Get SEO internal links on Trade Me.

GET v1/seo/jobs/landingpageinfo

Retrieves internal links and seo content for the Jobs homepage.

GET v1/seo/marketplace/landingpageinfo

Retrieves seo content for the homepage of the marketplace vertical.

GET v1/seo/motors/landingpageinfo

Retrieves internal links and seo content for the homepages of the motors vertical.

GET v1/seo/property/landingpageinfo

Retrieves internal links and seo content for the homepages of the property vertical

SEO methods for menu links

Menu links to be displayed in the "Browse jobs" navigation menu in Trade me jobs from the database.

GET v1/seo/jobs/menuinfo

Retrieves menu links for job homepage.

Shipping Methods

These methods allow you to manage structured Shipping Templates.

POST v1/Shipping/Templates

Adds a Shipping Template and related options.

GET v1/Shipping/Carriers/{carrierId}/Products

Retrieves a list of Carrier Products from the provided Carrier id.

GET v1/Shipping/Carriers

Retrieves a list of valid Carriers to be used when creating a Shipping Template.

GET v1/Shipping/Regions

Retrieves a list of valid shipping regions to be used when creating a Shipping Template.

GET v1/Shipping/Templates/{shippingTemplateId}

Retrieves the details of a single shipping template.

GET v1/Shipping/Templates

Retrieves a summary of all shipping templates for the user. This summary is shallow and excludes nested objects i.e.: ShippingOptions are not included. Use String) to retrieve a fully expanded ShippingTemplate.

PUT v1/Shipping/Templates/{shippingTemplateId}

Updates the shipping template with the given ID.

Suburb Search Methods

Class that store the functions related to finding Suburb details under /Property/Sold

GET v1/Property/Sold/Suburbs

Get suburb details for all suburbs.

Restricted to approved applications. This operation is only available to applications that Trade Me has approved for it. Other applications receive HTTP 401 with the message "This operation is not valid for your application".

GET v1/Property/Sold/Suburb/{cityName}/{suburbName}

Get suburb details based on cityName, and suburbName. Accepted combinations should be city name, followed with the suburb name. All space should be replaced with dash. E.g "new-plymouth/highlands-park"

Restricted to approved applications. This operation is only available to applications that Trade Me has approved for it. Other applications receive HTTP 401 with the message "This operation is not valid for your application".